M > MovieClip._alpha |
![]() ![]() ![]() |
MovieClip._alpha
Availability
Flash Player 4.
Usage
myMovieClip
._alpha
Description
Property; sets or retrieves the alpha transparency (value
) of the movie clip specified by MovieClip
. Valid values are 0 (fully transparent) to 100 (fully opaque). 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 with the _alpha
property set to 0.
Example
The following statements set the _alpha
property of a movie clip named star
to 30% when the button is clicked:
on(release) { star._alpha = 30; }
![]() ![]() ![]() |