FCheckBox

ActionScript for Flash MX: The Definitive Guide, 2nd Edition
By Colin Moock
Appendix G.  Flash UI Component Summary
FCheckBox support for a standard UI checkbox element

Methods

getEnabled( )

Boolean indicating whether a checkbox is enabled (i.e., responds to mouse input).

getLabel( )

Returns a checkbox's string label.

getValue( )

Boolean indicating whether a checkbox is checked (i.e., selected or deselected).

registerSkinElement( )

Registers a skin element for changing the appearance of a checkbox.

setChangeHandler( )

Specifies the callback function to call when the checkbox's state changes.

setEnabled( )

Enables or disables the checkbox (not the same as selecting or deselecting it).

setLabel( )

Sets a checkbox's string label.

setLabelPlacement( )

Specifies the label location relative to the checkbox ("left" or "right").

setSize( )

Sets the width of the checkbox element, in pixels.

setStyleProperty( )

Sets a particular style property for the check box (for a list of supported properties, see the FStyleFormat object).

setValue( )

Specifies whether the checkbox is checked (true) or unchecked (false) (i.e., whether it is selected or deselected).



    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