Symbolinstance.colorbluepercent, Symbolinstance.colorgreenamount, Symbolinstance.colorgreenpercent – Adobe Extending Flash Professional CS5 User Manual
Page 443
421
EXTENDING FLASH PROFESSIONAL
SymbolInstance object
Last updated 5/2/2011
symbolInstance.colorBluePercent
Availability
Flash MX 2004.
Usage
symbolInstance.colorBluePercent
Description
Property; an integer that is 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 sets the blue values to a specified percentage. Allowable values are from -100 to 100.
Example
The following example sets the
colorBluePercent
of the selected symbol instance to 80:
fl.getDocumentDOM().selection[0].colorBluePercent = 80;
symbolInstance.colorGreenAmount
Availability
Flash MX 2004.
Usage
symbolInstance.colorGreenAmount
Description
Property; an integer that is part of the color transformation for the instance. This property is equivalent to using the
Color > Advanced setting in the instance Property inspector. Allowable values are from -255 to 255.
symbolInstance.colorGreenPercent
Availability
Flash MX 2004.
Usage
symbolInstance.colorGreenPercent
Description
Property; 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 sets the
green values by a specified percentage. Allowable values are from -100 to 100.