FPushButton

ActionScript for Flash MX: The Definitive Guide, 2nd Edition
By 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).



    ActionScript for Flash MX. The Definitive Guide
    ActionScript for Flash MX: The Definitive Guide, Second Edition
    ISBN: 059600396X
    EAN: 2147483647
    Year: 2002
    Pages: 780
    Authors: Colin Moock

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net