Lingo Dictionary > A-C > actionsEnabled

 

actionsEnabled

Syntax

the actionsEnabled of sprite whichFlashSprite
the actionsEnabled of member whichFlashMember
sprite whichFlashSprite.actionenabled
member whichFlashMember.actionenabled

Description

Cast member property and sprite property; controls whether the actions in a Flash movie are enabled (TRUE, default) or disabled (FALSE).

This property can be tested and set.

Example

This handler accepts a sprite reference as a parameter, and then toggles the sprite's actionsEnabled property on or off.

Dot syntax:

on ToggleActions whichSprite
	sprite (whichSprite).actionsEnabled = not sprite (whichSprite).actionsEnabled 
end

Verbose syntax:

on ToggleActions whichSprite
	set the actionsEnabled of sprite whichSprite = not the actionsEnabled of sprite whichSprite
end