User Guide

TextField.tabIndex 753
TextField.tabEnabled
Availability
Flash Player 6.
Usage
my_txt.tabEnabled:Boolean
Description
Property; specifies whether my_txt is included in automatic tab ordering. It is undefined
by default.
If the
tabEnabled property is undefined or true, the object is included in automatic tab
ordering. If the
tabIndex property is also set to a value, the object is included in custom tab
ordering as well. If
tabEnabled is false, the object is not included in automatic or custom tab
ordering, even if the
tabIndex property is set.
Example
The following example creates several text fields, called one_txt, two_txt, three_txt and
four_txt. The three_txt text field has the tabEnabled property set to false, so it is excluded
from the automatic tab ordering.
this.createTextField("one_txt", this.getNextHighestDepth(), 10, 10, 100, 22);
one_txt.border = true;
one_txt.type = "input";
this.createTextField("two_txt", this.getNextHighestDepth(), 10, 40, 100, 22);
two_txt.border = true;
two_txt.type = "input";
this.createTextField("three_txt", this.getNextHighestDepth(), 10, 70, 100,
22);
three_txt.border = true;
three_txt.type = "input";
this.createTextField("four_txt", this.getNextHighestDepth(), 10, 100, 100,
22);
four_txt.border = true;
four_txt.type = "input";
three_txt.tabEnabled = false;
three_txt.text = "tabEnabled = false;";
See also
MovieClip.tabEnabled
TextField.tabIndex
Availability
Flash Player 6.
Usage
my_txt.tabIndex:Number