_quality property

_quality:String

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

The _quality property can be set to the values described in the following table.

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 smoothing is set to "Best", the result is rendered with higher quality when the movie clip is scaled down by the use of an averaging algorithm. This can slow down rendering, but it allows high-quality thumbnails of large images, for example.

Flash Player 6 and 7: Bitmaps are always smoothed.

Availability: ActionScript 1.0; Flash Player 5

Example

The following example sets the rendering quality to LOW:

_quality = "LOW";

Version 8