Button._Quality - MACROMEDIA FLASH MX 2004-ACTIONSCRIPT LANGUAGE Reference

Actionscript language reference
Table of Contents

Advertisement

Button._quality

Availability
Flash Player 6.
Usage
my_btn._quality:String
Description
Property (global); sets or retrieves the rendering quality used for a SWF file. Device fonts are
always aliased and therefore are unaffected by the
The
property can be set to the following values:
_quality
Low rendering quality. Graphics are not anti-aliased, and bitmaps are not smoothed.
"LOW"
Medium rendering quality. Graphics are anti-aliased using a 2 x 2 pixel grid, but
"MEDIUM"
bitmaps are not smoothed. This is suitable for movies that do not contain text.
High rendering quality. Graphics are anti-aliased using a 4 x 4 pixel grid, and bitmaps
"HIGH"
are smoothed if the movie is static. This is the default rendering quality setting used by Flash.
Very high rendering quality. Graphics are anti-aliased using a 4 x 4 pixel grid and
"BEST"
bitmaps are always smoothed.
Note: Although you can specify this property for a Button object, it is actually a global property, and
you can specify its value simply as
Example
This example sets the rendering quality of a button named
my_btn._quality = "LOW";
156
Chapter 2: ActionScript Language Reference
_quality
. For more information, see _quality.
_quality
property.
to
:
my_btn
LOW

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash mx

Table of Contents