User Guide

Text object 453
Example
The following example determines if the object is accessible (a value of false means that it is
accessible):
var isSilent =
fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].silent
;
The following example sets the object to be accessible:
fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].silent =
false;
text.tabIndex
Availability
Flash MX 2004.
Usage
text.tabIndex
Description
Property; an integer that is equivalent to the Tab Index field in the Accessibility panel. This
value lets you determine the order in which objects are accessed when the user presses the Tab
key.
Example
The following example gets the tabIndex of the currently selected object:
var theTabIndex = fl.getDocumentDOM().selection[0].tabIndex;
The following example sets the tabIndex of the currently selected object:
fl.getDocumentDOM().selection[0].tabIndex = 1;
text.textRuns
Availability
Flash MX 2004.
Usage
text.textRuns
Description
Read-only property; an array of TextRun objects (see TextRun object).