
MovieClip.tabIndex Property
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
Alphabetical Language Reference
|
701
Usage
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.
See Also
MovieClip.enabled, MovieClip.focusEnabled, MovieClip.onSetFocus(), MovieClip.
tabChildren, MovieClip.tabIndex, Selection.setFocus(), TextField.tabEnabled
MovieClip.tabIndex Property
specifies the movie clip’s index in the custom tab order
Flash 6
read/write
mc.tabIndex
Description
The integer tabIndex property specifies mc’s position in the custom tab order. When no text
field, clip, or button has a
tabIndex property defined, Flash determines tab order automati-
cally, and pressing the Tab key moves focus between movie clips with button handlers,
buttons, and text fields from right to left, then top to bottom. We use the
tabIndex prop-
erty to force Tab key navigation to follow our own sequence, overriding the automatic
order. For complete details, see
TextField.tabIndex.
Objects with
_visible set to false are not included in the tab order. When at least one
object has
tabIndex set, any objects without an assigned tabIndex cannot be accessed via
the Tab key.
By default, movie clips