Compiledclipinstance.tabindex – Adobe Extending Flash Professional CS5 User Manual
Page 67
45
EXTENDING FLASH PROFESSIONAL
CompiledClipInstance object
Last updated 5/2/2011
Usage
compiledClipInstance.silent
Description
Property; a Boolean value that enables or disables the accessibility of the object; equivalent to the inverse logic of Make
Object Accessible setting in the Accessibility panel. That is, if
silent
is
true
, then Make Object Accessible is
unchecked. If
silent
is
false
, then Make Object Accessible is checked.
Example
The following example illustrates getting and setting the
silent
property:
// Query if the object is accessible.
var isSilent = fl.getDocumentDOM().selection[0].silent;
// Set the object to be accessible.
fl.getDocumentDOM().selection[0].silent = false;
compiledClipInstance.tabIndex
Availability
Flash MX 2004.
Usage
compiledClipInstance.tabIndex
Description
Property; an integer that is equivalent to the Tab Index field in the Accessibility panel. Creates a tab order in which
objects are accessed when the user presses the Tab key.
Example
The following example illustrates getting and setting the
tabIndex
property:
// Get the tabIndex of the object.
var theTabIndex = fl.getDocumentDOM().selection[0].tabIndex;
// Set the tabIndex of the object.
fl.getDocumentDOM().selection[0].tabIndex = 1;