Text object
319
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().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;
Содержание FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY
Страница 1: ...Flash JavaScript Dictionary ...
Страница 16: ...16 Contents ...
Страница 40: ...40 Chapter 2 Top level functions ...
Страница 368: ...368 Chapter 3 Objects ...
Страница 386: ...386 Chapter 4 C Level Extensibility ...