A-C > _alpha
_alphaSyntax
instancename
._alphainstancename
._alpha =value
;
Arguments
instancename
The name of a movie clip instance.
value
A number from 0 to 100 specifying the alpha transparency.
Description
Property; sets or retrieves the alpha transparency (value
) of the movie clip.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, a button in a movie clip with _alpha
property set to 0 can still be clicked.
Player
Flash 4 or later.
Example
The following statements set the _alpha
property of a movie clip named star
to 30% when the button is clicked:
on(release) { setProperty(star._alpha = 30); }
or
on(release) { star._alpha = 30; }