User Guide

Document object 119
Returns
Nothing.
Description
Methods; sets the opacity of the instance.
Example
The following example sets the opacity of the tint to a value of 50:
fl.getDocumentDOM().setInstanceAlpha(50);
document.setInstanceBrightness()
Availability
Flash MX 2004.
Usage
document.setInstanceBrightness( brightness )
Parameters
brightness
An integer that specifies brightness as a value from -100 (black) to 100 (white).
Returns
Nothing.
Description
Method; sets the brightness for the instance.
Example
The following example sets the brightness for the instance to a value of 50:
fl.getDocumentDOM().setInstanceBrightness(50);
document.setInstanceTint()
Availability
Flash MX 2004.
Usage
document.setInstanceTint( color
, strength )
Parameters
color
A color string in hexadecimal #rrggbb format (where r is red, g is green, and b is blue), a
hexidecimal color value (such as, 0xff0000), or an integer color value that specifies the color of the
tint. This parameter is equivalent to picking the
Color: Tint value for a symbol in the Property
Inspector.
strength An integer between 0 and 100 that specifies the opacity of the tint.