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

ModifiersPropertyDescription
 _alpha:NumberThe alpha transparency value of the button specified by my_btn.
 blendMode:ObjectThe blend mode for the button.
 cacheAsBitmap:BooleanIf set to true, Flash Player caches ...

Get ActionScript 2.0 Language Reference for Macromedia® Flash® 8 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.