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:

javascript
fl.getDocumentDOM().setInstanceBrightness(50);