EasyManua.ls Logo

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT - Page 604

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT
816 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
604 Chapter 12: ActionScript Dictionary
The _quality property can be set to the following values:
"LOW" Low rendering quality. Graphics are not anti-aliased, bitmaps are not smoothed.
"MEDIUM" Medium rendering quality. Graphics are anti-aliased using a 2 x 2 grid, in pixels,
but bitmaps are not smoothed. Suitable for movies that do not contain text.
"HIGH" High rendering quality. Graphics are anti-aliased using a 4 x 4 grid, in pixels, and
bitmaps are smoothed if the movie is static. This is the default rendering quality setting used
by Flash.
"BEST" Very high rendering quality. Graphics are anti-aliased using a 4 x 4 grid, in pixels, and
bitmaps are always smoothed.
Example
The following example sets the rendering quality to LOW:
_quality = "LOW";
See also
_highquality
, toggleHighQuality()
random
Availability
Flash Player 4. This function was deprecated in Flash 5 in favor of Math.random().
Usage
random(value)
Parameters
value
An integer.
Returns
An integer.
Description
Function; returns a random integer between 0 and one less than the integer specified in the
value parameter.
Example
The following use of random() returns a value of 0, 1, 2, 3, or 4:
random(5);
See also
Math.random()

Table of Contents

Related product manuals