| ActionScript for Flash MX: The Definitive Guide, 2nd EditionBy Colin Moock | | | Appendix G. Flash UI Component Summary | | FPushButton | support for a standard UI pushbutton element | Methods - getEnabled( )
-
Boolean indicating whether a pushbutton is enabled (i.e., responds to mouse input). - getLabel( )
-
Returns a pushbutton's string label. - registerSkinElement( )
-
Registers a skin element for changing the appearance of a pushbutton. - setClickHandler( )
-
Specifies the callback function to call when the pushbutton is clicked. - setEnabled( )
-
Enables or disables the pushbutton (i.e., specifies whether it is active or dimmed). - setLabel( )
-
Sets a pushbutton's string label. - setSize( )
-
Sets the height and width of the pushbutton, in pixels. - setStyleProperty( )
-
Sets a particular style property for the pushbutton (for a list of supported properties, see the FStyleFormat object). | |