SymbolInstance object
427
Description
Property; a Boolean value that enables or disables the accessibility of the object. This property
is equivalent to the inverse logic of the Make Object Accessible setting in the Accessibility
panel. For example, if
silent
is
true
, it is the same as the Make Object Accessible option
being unchecked. If
silent
is
false
, it is the same as the Make Object Accessible option
being checked.
This property is not available for graphic objects.
Example
The following example checks to see if the object is accessible; a return value of
false
means
the 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"
, and
"graphic"
.
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].symbolTyp
e = "graphic";
Summary of Contents for FLASH 8-EXTENDING FLASH
Page 1: ...Extending Flash...
Page 38: ...38 Top Level Functions and Methods...
Page 532: ...532 Objects...
Page 554: ...554 C Level Extensibility...