EasyManua.ls Logo

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT - Page 296

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...
296 Chapter 12: ActionScript Dictionary
Button.getDepth()
Availability
Flash Player 6.
Usage
my_btn.getDepth()
Returns
An integer.
Description
Method; returns the depth of a button instance.
Button._height
Availability
Flash Player 6.
Usage
my_btn._height
Description
Property; the height of the button, in pixels.
Example
The following code example sets the height and width of a button when the user clicks the mouse:
my_btn._width = 200;
my_btn._height = 200;
Button._highquality
Availability
Flash Player 6.
Usage
my_btn._highquality
Description
Property (global); specifies the level of anti-aliasing applied to the current SWF file. Specify 2
(best quality) to apply high quality with bitmap smoothing always on. Specify 1 (high quality) to
apply anti-aliasing; this will smooth bitmaps if the SWF file does not contain animation.
Specify 0 (low quality) to prevent anti-aliasing.
See also
_quality

Table of Contents

Related product manuals