beautypg.com

Chapter 8: componentinstance object, Componentinstance.parameters – Adobe Extending Flash Professional CS5 User Manual

Page 70

background image

48

Last updated 5/2/2011

Chapter 8: ComponentInstance object

Inheritance

Element object

>

Instance object

>

SymbolInstance object

> ComponentInstance object

Availability
Flash MX 2004.

Description
TheComponentInstance object is a subclass of the SymbolInstance object and represents a component in a frame (see

SymbolInstance object

).

Property summary
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 of ActionScript 2.0 properties that are accessible from the component Property
inspector. See

Parameter object

.

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

Property

Description

componentInstance.parameters

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

This manual is related to the following products: