Symbolinstance.symboltype; Symbolinstance.tabindex - MACROMEDIA FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY Manual

Flash javascript dictionary
Hide thumbs Also See for FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY:
Table of Contents

Advertisement

This property is not available for graphic objects.
Example
The following example checks to see if the object is accessible; a return value of
object is accessible:
var isSilent = fl.getDocumentDOM().selection[0].silent;
The following example sets the object to be accessible:
fl.getDocumentDOM().selection[0].silent = false;

symbolInstance.symbolType

Availability
Flash MX 2004.
Usage
symbolInstance.symbolType
Description
Property; a string that specifies the type of symbol. This property is equivalent to the value for
Behavior in the Create New Symbol and Convert To Symbol dialog boxes. Acceptable values are
,
"button"
"movie clip"
Example
The following example sets the first symbol in the first frame of the first layer in the Timeline of
the current document to behave as a graphic symbol:
fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].symbolType =
"graphic";

symbolInstance.tabIndex

Availability
Flash MX 2004.
Usage
symbolInstance.tabIndex
Description
Property; an integer that is equivalent to the Tab index field on the Accessibility panel. Creates a
tab order in which objects are accessed when the user presses the Tab key. This property is not
available for graphic symbols.
Example
The following example sets the
value in the Output panel:
var mySymbol = fl.getDocumentDOM().selection[0];
mySymbol.tabIndex = 3;
fl.trace(mySymbol.tabIndex);
, and
.
"graphic"
property of the mySymbol object to 3 and displays that
tabIndex
means the
false
SymbolInstance object
293

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents