
TextField.text Property
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
Alphabetical Language Reference
|
873
// Assign custom tab order
row2col2_txt.tabIndex = 1;
row2col1_txt.tabIndex = 2;
row1col2_txt.tabIndex = 3;
row1col1_txt.tabIndex = 4;
When at least one object has tabIndex set, any objects without an assigned tabIndex cannot
be accessed via the Tab key. Note that
tabIndex affects only text fields with type set to
“
input”. By default, input text fields are tab-enabled, so the tabEnabled property needs to
be set (to
false) only to exclude an instance from the tab order while retaining its tabIndex
value.
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
Button.tabIndex, MovieClip.tabIndex, TextField.tabEnabled, TextField.type
TextField._target Property
the target path of the text field, in slash syntax
Flash 6
read-only
theField._target
Description
The _target property represents the path to theField in a Flash 4–style slash notation
string. For example, if
name_txt resides on the main movie timeline, name_txt’s _target
property is “/name_txt”. To convert the slash-style path to an object reference, use eval().
To retrieve a string giving ...