Developing Extensions for Macromedia Flash 8

 < Day Day Up > 

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. (See SymbolInstance object.)

Property summary for the ComponentInstance object

In addition to all the properties of the SymbolInstance object, the ComponentInstance object has the following property:

Property

Description

componentInstance.parameters

Read-only; an array of ActionScript 2.0 properties that are accessible from the component Property inspector.

componentInstance.parameters

Availability

Flash MX 2004.

Usage

componentInstance.parameters

Description

Read-only property; an array of ActionScript 2.0 properties that are accessible from the component Property inspector. See "Parameter object" on page 337.

Example

The following example illustrates getting and setting the parameters property:

var parms = fl.getDocumentDOM().selection[0].parameters; parms[0].value = "some value";

See also

Parameter object

     < Day Day Up > 

    Категории