
344
ActionScript classes
Button
Object
|
+-Button
public class
Button
extends Object
All button symbols in a SWF file are instances of the
Button
object. You can give a button an
instance name in the Property inspector, and use the methods and properties of the Button
class to manipulate buttons with ActionScript. Button instance names are displayed in the
Movie Explorer and in the Insert Target Path dialog box in the Actions panel.
The Button class inherits from the Object class.
Availability:
ActionScript 1.0; Flash Player 6
See also
Object
Property summary
Modifiers
Property
Description
_alpha
:Number
The alpha transparency value of the button specified
by
my_btn
.
blendMode
:Object
The blend mode for the button.
cacheAsBitmap
:Boolea
n
If set to
true
, Flash Player caches an internal bitmap
representation of the button.
enabled
:Boolean
A Boolean value that specifies whether a button is
enabled.
filters
:Array
An indexed array containing each filter object
currently associated with the button.
_focusrect
:Boolean
A Boolean value that specifies whether a button has a
yellow rectangle around it when it has keyboard focus.
_height
:Number
The height of the button, in pixels.
_highquality
:Number
Deprecated
since Flash Player 7. This property was
deprecated in favor of
Button._quality
.
Specifies the level of anti-aliasing applied to the
current SWF file.
menu
:ContextMenu
Associates the
ContextMenu
object
contextMenu
with the button object
my_button
.
Содержание FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
Страница 1: ...ActionScript 2 0 Language Reference ...
Страница 1352: ...1352 ActionScript classes ...