A-C > Button (object) |
![]() ![]() ![]() |
Button (object)
All button symbols in a Flash movie 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 object 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 object inherits from the Object object.
The Button object is supported by Flash Player 6.
Method Description Returns the depth of a button instance.
Method summary for the Button object
Property Description The transparency value of a button instance. Indicates whether a button is active. Indicates whether a button with focus has a yellow rectangle around it. The height of a button instance, in pixels. Indicates the rendering quality of the movie The instance name of a button instance. A reference to the movie clip instance that is the parent of this instance. Indicates the rendering quality of the movie. The degree of rotation of a button instance. Number of seconds for a sound to preload. Indicates whether a button is included in automatic tab ordering. Indicates the tab order of an object. The target path of a button instance. Indicates whether other buttons can receive mouse release events. The URL of the SWF file that created the button instance. Indicates whether the hand cursor is displayed when the mouse passes over a button. A Boolean value that determines whether a button instance is hidden or visible. The width of a button instance, in pixels. The x coordinate of a button instance. The x coordinate of the cursor relative to a button instance. The value specifying the percentage for horizontally scaling a button instance. The y coordinate of a button instance. The y coordinate of the cursor relative to a button instance. The value specifying the percentage for vertically scaling a button instance.
Property summary for the Button object
![]() ![]() ![]() |