SWiSH Player Support
SWF6 or later - Not Supported (Use File | Test | Browser/Player)
Syntax
buttonName.tabIndex
Arguments
None.
Returns
Nothing.
Description
Property; allows you to define the tab ordering for a Button, Sprite, or TextField object. If any object has a tabIndex value, then automatic tab ordering is disabled. The tab ordering will be determined by the non-negative integer used in the tabIndex property. A object with a tabIndex value of 1 will become active in the tab ordering before an object with a tabIndex value of 2.
Note: If the tabIndex property is not defined - the order will be from top to bottom. You can re-order fields in this manner to avoid the SWF6 restriction.
Sample
onLoad() {
button1.tabIndex = 1;
button2.tabIndex = 2;
button3.tabIndex = 3;
mySprite1.tabIndex = 4;
myTextField1.tabIndex = 5;
}