MovieClip._alpha

Availability

Flash Player 4.

Usage

my_mc._alpha

Description

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

Example

The following code sets the _alpha property of a movie clip named star_mc to 30% when the button is clicked:

on(release) {
  star_mc._alpha = 30;
}

See also

Button._alpha, TextField._alpha