Text.silent, Text.tabindex, Text.textruns – Adobe Extending Flash Professional CS5 User Manual
Page 471: Array (see
449
EXTENDING FLASH PROFESSIONAL
Text object
Last updated 5/2/2011
text.silent
Availability
Flash MX 2004.
Usage
text.silent
Description
Property; a Boolean value that specifies whether the object is accessible. This is equivalent to the inverse logic of the
Make Object Accessible setting in the Accessibility panel. That is, if
silent
is
true
, Make Object Accessible is
deselected. If it is
false
, Make Object Accessible is selected.
Example
The following example determines if the object is accessible (a value of
false
means that it is accessible):
var isSilent = fl.getDocumentDOM().selection[0].silent;
The following example sets the object to be accessible:
fl.getDocumentDOM().selection[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.