beautypg.com

Chapter 42: symbolinstance object, Symbolinstance object, Componentinstance object – Adobe Extending Flash Professional CS4 User Manual

Page 440: In addition to all the properties of the

background image

418

Chapter 42: SymbolInstance object

Inheritance

Element object

>

Instance object

> SymbolInstance object

Availability
Flash MX 2004.

Description
SymbolInstance is a subclass of the Instance object and represents a symbol in a frame (see

Instance object

).

Property summary
In addition to the Instance object properties, the SymbolInstance object has the following properties:

Property

Description

symbolInstance.accName

A string that is equivalent to the Name field in the Accessibility panel.

symbolInstance.actionScript

A string that specifies the actions assigned to the symbol.

symbolInstance.blendMode

A string that specifies the blending mode to be applied to a movie clip
symbol.

symbolInstance.buttonTracking

A string that, for button symbols only, sets the same property as the pop-up
menu for Track as Button or Track As Menu Item in the Property inspector.

symbolInstance.cacheAsBitmap

A Boolean value that specifies whether run-time bitmap caching is enabled.

symbolInstance.colorAlphaAmount

An integer that is part of the color transformation for the instance, specifying
the Advanced Effect Alpha settings; equivalent to using the Color > Advanced
setting in the Property inspector and adjusting the controls on the right of the
dialog box.

symbolInstance.colorAlphaPercent

An integer that specifies part of the color transformation for the instance;
equivalent to using the Color > Advanced setting in the instance Property
inspector (the percentage controls on the left of the dialog box).

symbolInstance.colorBlueAmount

An integer that is part of the color transformation for the instance; equivalent
to using the Color > Advanced setting in the instance Property inspector.

symbolInstance.colorBluePercent

An integer that is part of the color transformation for the instance; equivalent
to using the Color > Advanced setting in the instance Property inspector (the
percentage controls on the left of the dialog box).

symbolInstance.colorGreenAmount

An integer that is part of the color transformation for the instance; equivalent
to using the Color > Advanced setting in the instance Property inspector.
Allowable values are from -255 to 255.

symbolInstance.colorGreenPercent

Part of the color transformation for the instance; equivalent to using the Color
> Advanced setting in the instance Property inspector (the percentage
controls on the left of the dialog box).

symbolInstance.colorMode

A string that specifies the color mode as identified in the symbol Property
inspector Color pop-up menu.

symbolInstance.colorRedAmount

An integer that is part of the color transformation for the instance, equivalent
to using the Color > Advanced setting in the instance Property inspector.