152
Objects
Parameters
opacity
An integer between 0 (transparent) and 100 (completely saturated) that adjusts the
transparency of the instance.
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);
Summary of Contents for FLASH 8-EXTENDING FLASH
Page 1: ...Extending Flash...
Page 38: ...38 Top Level Functions and Methods...
Page 532: ...532 Objects...
Page 554: ...554 C Level Extensibility...