Quality (Button._Quality Property); Rotation (Button._Rotation Property) - MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE Reference

Flash lite 2.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

_quality (Button._quality property)

public _quality :
Property (global); sets or retrieves the rendering quality used for a SWF file. Device fonts are
always aliased and therefore are unaffected by the
The
property can be set to the following values:
_quality
"
" Low rendering quality. Graphics are not anti-aliased, and bitmaps are not
LOW
smoothed.
"
" Medium rendering quality. Graphics are anti-aliased using a 2 x 2 pixel grid, but
MEDIUM
bitmaps are not smoothed. This is suitable for movies that do not contain text.
"
" High rendering quality. Graphics are anti-aliased using a 4 x 4 pixel grid, and
HIGH
bitmaps are smoothed if the movie is static. This is the default rendering quality setting
used by Flash.
Note: Although you can specify this property for a Button object, it is actually a global
property, and you can specify its value simply as
Availability: ActionScript 1.0; Flash Lite 2.0
Example
This example sets the rendering quality of a button named
my_btn._quality = "LOW";

_rotation (Button._rotation property)

public _rotation :
The rotation of the button, in degrees, from its original orientation. Values from 0 to 180
represent clockwise rotation; values from 0 to -180 represent counterclockwise rotation.
Values outside this range are added to or subtracted from 360 to obtain a value within the
range. For example, the statement
my_btn._rotation = 90
Availability: ActionScript 1.0; Flash Lite 2.0
String
Number
my_btn._rotation = 450
.
property.
_quality
.
_quality
to
my_btn
is the same as
:
LOW
Button
287

Advertisement

Table of Contents
loading

Table of Contents