_quality (MovieClip._quality property)

public _quality : String

Sets or retrieves the rendering quality used for a SWF file. Device fonts are always aliased and therefore are unaffected by the _quality property.

You can set the _quality to the following values:

Value

Description

Graphic anti-aliasing

Bitmap smoothing

"LOW"

Low rendering quality.

Graphics are not anti-aliased.

Bitmaps are not smoothed.

"MEDIUM"

Medium rendering quality. This setting is suitable for movies that do not contain text.

Graphics are anti-aliased using a 2 x 2 pixel grid.

Flash Player 8: Bitmaps are smoothed based on the smoothing parameter used in MovieClip.attachBitmap() and MovieClip.beginBitmapFill() calls.

Flash Player 6 and 7: Bitmaps are not smoothed.

"HIGH"

High rendering quality. This setting is the default rendering quality setting that Flash uses.

Graphics are anti-aliased using a 4 x 4 pixel grid.

Flash Player 8: Bitmaps are smoothed based on the smoothing parameter used in MovieClip.attachBitmap() and MovieClip.beginBitmapFill() calls.

Flash Player 6 and 7: Bitmaps are smoothed if the movie clip is static.

"BEST"

Very high rendering quality.

Graphics are anti-aliased using a 4 x 4 pixel grid.

Flash Player 8: Bitmaps are smoothed based on the smoothing parameter used in MovieClip.attachBitmap() and MovieClip.beginBitmapFill() calls. When the smoothing is set, the result renders with higher quality when the movie clip is scaled down, by using an averaging algorithm. This can slow down rendering, but it allows for applications such as high-quality thumbnails of large images.

Flash Player 6 and 7: Bitmaps are always smoothed.

Note: Although you can specify this property for a MovieClip instance, it is a global property, and you can specify its value simply as _quality. Setting the _quality for a MovieClip instance will set the quality for the entire SWF.

Availability: ActionScript 1.0; Flash Player 6

Example

This example sets the rendering quality of a movie clip (and subsequently the entire SWF containing the movie clip) named my_mc to LOW:

my_mc._quality = "LOW";

See also

_quality property


Flash CS3