document.setInstanceAlpha()

#### Availability

Flash MX 2004.

#### Usage

document.setInstanceAlpha(opacity)

#### 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:

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