EasyManua.ls Logo

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT - Page 710

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT
816 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
710 Chapter 12: ActionScript Dictionary
Description
Property; lets you customize the tab ordering of objects in a SWF file. You can set the tabIndex
property on a button, movie clip, or text field instance; it is
undefined by default.
If any currently displayed object in the SWF file contains a
tabIndex property, automatic tab
ordering is disabled, and the tab ordering is calculated from the
tabIndex properties of objects in
the SWF file. The custom tab ordering only includes objects that have
tabIndex properties.
The
tabIndex property must be a positive integer. The objects are ordered according to their
tabIndex properties, in ascending order. An object with a tabIndex value of 1 precedes an object
with a
tabIndex value of 2. If two objects have the same tabIndex value, the one that precedes
the other in the tab ordering is
undefined.
The custom tab ordering defined by the
tabIndex property is flat. This means that no attention
is paid to the hierarchical relationships of objects in the SWF file. All objects in the SWF file with
tabIndex properties are placed in the tab order, and the tab order is determined by the order of
the
tabIndex values. If two objects have the same tabIndex value, the one that goes first is
undefined. You shouldnt use the same tabIndex value for multiple objects.
See also
Button.tabIndex
, MovieClip.tabIndex
TextField._target
Availability
Flash Player 6.
Usage
my_txt._target
Description
Property (read-only); the target path of the text field instance specified by my_txt.
TextField.text
Availability
Flash Player 6.
Usage
my_txt.text
Description
Property; indicates the current text in the text field. Lines are separated by the carriage return
character ('\r', ASCII 13). This property contains the normal, unformatted text in the text field,
without HTML tags, even if the text field is HTML.
See also
TextField.htmlText

Table of Contents

Related product manuals