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
Содержание FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY
Страница 1: ...Flash JavaScript Dictionary ...
Страница 16: ...16 Contents ...
Страница 40: ...40 Chapter 2 Top level functions ...
Страница 368: ...368 Chapter 3 Objects ...
Страница 386: ...386 Chapter 4 C Level Extensibility ...