_alpha

Availability

Flash Lite 1.0.

Usage

my_mc:_alpha

Property; the alpha transparency value of the movie clip specified by the my_mc variable. Valid values are 0 (fully transparent) to 100 (fully opaque), which is the default value. Objects in a movie clip with _alpha set to 0 are active, even though they are invisible. For example, you can click a button in a movie clip whose _alpha property is set to 0.

Example

The following code for a button event handler sets the _alpha property of the my_mc movie clip to 30% when the user clicks the button:

on(release) {
    tellTarget("my_mc") {
        _alpha = 30;
    }
}