03.05.2013 Views

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Value Description Graphic Anti-<br />

Aliasing<br />

"HIGH" High rendering<br />

quality. This<br />

setting is the<br />

default rendering<br />

quality setting<br />

that Flash uses.<br />

"BEST" Very high<br />

rendering quality.<br />

Availability: <strong>ActionScript</strong> 1.0; Flash Player 5<br />

Example<br />

The following example sets the rendering quality to LOW:<br />

_quality = "LOW";<br />

_root property<br />

_root.movieClip<br />

_root.action<br />

_root.property<br />

Graphics are anti-aliased<br />

using a 4 x 4 pixel grid.<br />

Graphics are anti-aliased<br />

using a 4 x 4 pixel grid.<br />

Bitmap Smoothing<br />

Flash Player 8: Bitmaps are<br />

smoothed based on the smoothing<br />

parameter used in<br />

MovieClip.attachBitmap() <strong>and</strong><br />

MovieClip.beginBitmapFill() calls.<br />

Flash Player 6 <strong>and</strong> 7: Bitmaps are<br />

smoothed if the movie clip is static.<br />

Flash Player 8: Bitmaps are<br />

smoothed based on the smoothing<br />

parameter used in<br />

MovieClip.attachBitmap() <strong>and</strong><br />

MovieClip.beginBitmapFill() calls.<br />

When smoothing is set to "Best", the<br />

result is rendered with higher quality<br />

when the movie clip is scaled down<br />

by the use of an averaging algorithm.<br />

This can slow down rendering, but it<br />

allows high-quality thumbnails of<br />

large images, for example.<br />

Flash Player 6 <strong>and</strong> 7: Bitmaps are<br />

always smoothed.<br />

Specifies or returns a reference to the root movie clip Timeline. If a movie clip has multiple<br />

levels, the root movie clip Timeline is on the level containing the currently executing script.<br />

For example, if a script in level 1 evaluates _root, _level1 is returned.<br />

Specifying _root is the same as using the deprecated slash notation (/) to specify an absolute<br />

path within the current level.<br />

Global Properties 127

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!