Syntax: |
the buttonsEnabled of sprite whichFlashSprite |
|
the buttonsEnabled of member whichFlashMember
|
Type: |
Cast member property; sprite property |
Description: |
This property controls whether the buttons in a Flash movie are active. Button actions are triggered only when the actionsEnabled property is set to TRUE . The buttonsEnabled property can have these values: |
|
 |
TRUE The buttons in the Flash movie are active.
|
 |
FALSE The buttons in the Flash movie are inactive.
|
|
|
The buttonsEnabled property can be tested and set. The default setting is TRUE .
|
Example: |
This handler accepts a sprite reference and toggles the sprite's buttonsEnabled property on or off. |
|
on ToggleButtons whichSprite
set the buttonsEnabled of sprite whichSprite = not the buttonsEnabled of sprite whichSprite
end
|
Related Lingo: |
actionsEnabled property. |
 |
|