SymbolInstance object
287
symbolInstance.colorAlphaAmount
Availability
Flash MX 2004.
Usage
symbolInstance.colorAlphaAmount
Description
Property; an integer that is part of the color transformation for the instance, specifying the
Advanced Effect Alpha settings. This property is equivalent to using the Color > Advanced setting
in the Property inspector and adjusting the controls on the right of the dialog box. This value
either reduces or increases the tint and alpha values by a constant amount. This value is added to
the current value. This property is most useful if used with
symbolInstance.colorAlphaPercent
. Allowable values are from -255 to 255.
Example
The following example subtracts 100 from the alpha setting of the selected symbol instance:
fl.getDocumentDOM().selection[0].colorAlphaAmount = -100;
symbolInstance.colorAlphaPercent
Availability
Flash MX 2004.
Usage
symbolInstance.colorAlphaPercent
Description
Property; an integer that specifies part of the color transformation for the instance. This property
is equivalent to using the Color > Advanced setting in the Instance Property inspector (the
percentage controls on the left of the dialog box). This value changes the tint and alpha values to
a specified percentage. Allowable values are from -100 to 100. See also
symbolInstance.colorAlphaAmount
.
Example
The following example sets the
colorAlphaPercent
of the selected symbol instance to 50:
fl.getDocumentDOM().selection[0].colorBluePercent = 80;
symbolInstance.colorBlueAmount
Availability
Flash MX 2004.
Usage
symbolInstance.colorBlueAmount
Summary of Contents for FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY
Page 1: ...Flash JavaScript Dictionary ...
Page 16: ...16 Contents ...
Page 40: ...40 Chapter 2 Top level functions ...
Page 368: ...368 Chapter 3 Objects ...