MovieClip.enabled Property | Flash 6 |
Boolean; allows or disallows button interaction | read/write |
Like Button.enabled, the Boolean MovieClip.enabled property determines whether mc's button behavior is (true) or is not (false) enabled. By default, MovieClip.enabled is true; however, it has an effect only when one or more button events (onPress( ), onRelease( ), etc.) are defined for mc. When enabled is false, mc does not receive button event notifications, the hand cursor is not shown, and mc's playhead does not jump automatically to the movie clip's _up, _over and _down frames in response to mouse interaction. However, mc will still play normally, and it can be focused with the Tab key. To disable tab focus, set mc.tabEnabled to false.
For information on implementing button behavior for a movie clip, see the MovieClip class Description, MovieClip.hitArea, and Section 13.9.
The Tab key does not work reliably in Test Movie mode unless Control Disable Keyboard Shortcuts is enabled. Be sure to test keyboard behavior in the Standalone Player, if applicable, and in the Flash Player for all targeted web browsers.
Button.enabled, MovieClip.hitArea, MovieClip.tabEnabled, MovieClip.useHandCursor; Section 13.9