enabled
Top  Previous  Next


SWiSH Player Support
SWF6 or later - Not Supported (Use File | Test | Browser/Player)

Syntax
buttonName.enabled

Arguments
None.

Returns
Nothing.

Description
Property; a Boolean value used to enable or disable a button. By default, this value is set to true.

Sample
onFrame (10
{
    button1.enabled = false; // disables the specified button at Frame 10
}


onFrame (20
{
    button1.enabled = true; // re-enables the specified button at Frame 20
}