M > MovieClip.enabled

 

MovieClip.enabled

Availability

Flash Player 6.

Usage

myMovieClip.enabled

Description

Property; a Boolean value that indicates whether a button movie clip in enabled. The default value of enabled is true. If enabled is set to false, the button movie clip's callback methods and on action events are no longer invoked and the Over, Down and Up frames are disabled. The enabled property does not affect the Timeline of the button movie clip; if a movie clip is playing, it continues to play. The movie clip continues to receive movie clip events (for example, mouseDown, mouseUp, keyDown and keyUp).

The enabled property only governs the button-like properties of a button movie clip. You can change the enabled property at any time; the modified button movie clip is immediately enabled or disabled. The enabled property can be read out of a prototype object. If enabled is set to false, the object is not included in automatic tab ordering.