SymbolInstance object
425
symbolInstance.forceSimple
Availability
Flash MX 2004.
Usage
symbolInstance.forceSimple
Description
Property; a Boolean value that enables and disables the accessibility of the object’s children.
This property is equivalent to the inverse logic of the Make Child Objects Accessible setting
in the Accessibility panel. For example, if
forceSimple
is
true
, it is the same as the Make
Child Object Accessible option being unchecked. If
forceSimple
is
false
, it is the same as
the Make Child Object Accessible option being checked.
This property is available only for movie clip objects.
Example
The following example checks to see if the children of the object are accessible; a return value
of
false
means the children are accessible:
var areChildrenAccessible = fl.getDocumentDOM().selection[0].forceSimple;
The following example allows the children of the object to be accessible:
fl.getDocumentDOM().selection[0].forceSimple = false;
symbolInstance.loop
Availability
Flash MX 2004.
Usage
symbolInstance.loop
Description
Property; a string that, for graphic symbols, sets the same property as the Loop pop-up menu
in the Property inspector. For other types of symbols, this property is
undefined
. Acceptable
values are
"loop"
,
"play once"
, and
"single frame"
to set the graphic’s animation
accordingly.
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...