View comments | RSS feed

_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 object, it is also a global property, and you can specify its value simply as _quality.

Availability: ActionScript 1.0; Flash Player 6

Example

This example sets the rendering quality of a movie clip named my_mc to LOW:

my_mc._quality = "LOW";

See also

_quality property


Version 8

Comments


McUsher said on Jan 9, 2006 at 11:13 AM :
The documentation doesn't state clearly, that only the whole swf can be set in quality,

>Note: Although you can specify this property for a
>MovieClip object, it is also a global property, and
>you can specify its value simply as _quality.

Says that both, setting it for movieClip or _also_ as a global property.

Same goes for example section:
>This example sets the rendering quality of a movie clip named my_mc to LOW:
But acutally the example sets the quality for the whole swf file.

Documentation should state, that you can't set _quality for MovieClips independently.

Thanks, McUsher
Anderson Straube said on Mar 13, 2007 at 7:57 AM :
I agree to the McUsher. It must only have an option for set the quality of a MovieClip and it does not for swf all.

Thank.
Anderson

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/8/main/00002509.html