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.

Button<br />

Object<br />

|<br />

+-Button<br />

public class Button<br />

extends Object<br />

All button symbols in a SWF file are instances of the Button object. You can give a button an<br />

instance name in the Property inspector, <strong>and</strong> use the methods <strong>and</strong> properties of the Button<br />

class to manipulate buttons with <strong>ActionScript</strong>. Button instance names are displayed in the<br />

Movie Explorer <strong>and</strong> in the Insert Target Path dialog box in the Actions panel.<br />

The Button class inherits from the Object class.<br />

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

See also<br />

Object<br />

Property summary<br />

Modifiers Property Description<br />

352 <strong>ActionScript</strong> classes<br />

_alpha:Number The alpha transparency value of the button<br />

specified by my_btn.<br />

blendMode:Object The blend mode for the button.<br />

cacheAsBitmap:Boolea<br />

n<br />

If set to true, Flash Player caches an internal<br />

bitmap representation of the button.<br />

enabled:Boolean A Boolean value that specifies whether a button is<br />

enabled.<br />

filters:Array An indexed array containing each filter object<br />

currently associated with the button.<br />

_focusrect:Boolean A Boolean value that specifies whether a button<br />

has a yellow rectangle around it when it has<br />

keyboard focus.<br />

_height:Number The height of the button, in pixels.<br />

_highquality:Number Deprecated since Flash Player 7. This property<br />

was deprecated in favor of Button._quality.<br />

Specifies the level of anti-aliasing applied to the<br />

current SWF file.

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

Saved successfully!

Ooh no, something went wrong!