User Guide
54 Chapter 3: Objects
ComponentInstance object
Inheritance Element object > Instance object > SymbolInstance object > ComponentInstance
object
Availability
Flash MX 2004.
Description
The ComponentInstance object is a subclass of the SymbolInstance object and represents a
component in a frame.
Property summary for the ComponentInstance object
In addition to all the properties of the SymbolInstance object, the ComponentInstance object has
the following property:
componentInstance.parameters
Availability
Flash MX 2004.
Usage
componentInstance.parameters
Description
Read-only property; an array containing the ActionScript 2.0 properties that are accessible from
the component Property inspector. See “Parameter object” on page 237.
Example
The following example illustrates getting and setting the parameters property:
var parms = fl.getDocumentDOM().selection[0].parameters;
parms[0].value = "some value";
Property Description
componentInstance.parameters Read-only; an array containing the ActionScript 2.0 properties that
are accessible from the component Property inspector.
CHAPTER 3
Objects