Tabindex (Textfield.tabindex Property) - MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE Reference

Flash lite 2.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

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;";
See also
tabEnabled (Button.tabEnabled property)
property)

tabIndex (TextField.tabIndex property)

public tabIndex :
Lets you customize the tab ordering of objects in a SWF file. You can set the
property on a button, movie clip, or text field instance; it is
If any currently displayed object in the SWF file contains a
ordering is disabled, and the tab ordering is calculated from the
objects in the SWF file. The custom tab ordering only includes objects that have
properties.
The
property must be a positive integer. The objects are ordered according to their
tabIndex
properties, in ascending order. An object with a
tabIndex
object with a
tabIndex
precedes the other in the tab ordering is
684
ActionScript classes
text field has the
Number
value of 2. If two objects have the same
undefined
,
one_txt
two_txt
property set to
tabEnabled
,
tabEnabled (MovieClip.tabEnabled
undefined
tabIndex
tabIndex
tabIndex
tabIndex
.
,
and
three_txt
, so it is
false
tabIndex
by default.
property, automatic tab
properties of
tabIndex
value of
precedes an
1
value, the one that

Advertisement

Table of Contents
loading

Table of Contents