54
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. (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:
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
Property
Description
componentInstance.parameters
Read-only; an array of ActionScript 2.0 properties that
are accessible from the component Property inspector.
CHAPTER 6
Objects
Содержание FLASH 8-EXTENDING FLASH
Страница 1: ...Extending Flash...
Страница 38: ...38 Top Level Functions and Methods...
Страница 532: ...532 Objects...
Страница 554: ...554 C Level Extensibility...