If your SWF file includes a version 2 component, use the version 2 components
DepthManager class instead of the
used in this example.
See also
StyleSheet (TextField.StyleSheet)
tabEnabled (TextField.tabEnabled property)
public tabEnabled : Boolean
Specifies whether the text field is included in automatic tab ordering. It is
default.
If the
property is
tabEnabled
ordering. If the
tabIndex
ordering as well. If
tabEnabled
tab ordering, even if the
Availability: ActionScript 1.0; Flash Player 6
Example
The following example creates several text fields, called
. The
four_txt
three_txt
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;";
1214
ActionScript classes
MovieClip.getNextHighestDepth()
or
undefined
true
property is also set to a value, the object is included in custom tab
is
, the object is not included in automatic or custom
false
property is set.
tabIndex
text field has the
tabEnabled
, the object is included in automatic tab
,
one_txt
two_txt
property set to
method, which is
by
undefined
,
and
three_txt
, so it is
false
Need help?
Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?