A-C > Button._alpha |
![]() ![]() ![]() |
Button._alpha
Availability
Flash Player 6.
Usage
myButton
._alpha
Description
Property; sets or retrieves the alpha transparency (value
) of the button specified by Button
. Valid values are 0 (fully transparent) to 100 (fully opaque). Objects in a button with _alpha
set to 0 are active, even though they are invisible.
Example
The following sets the _alpha
property of a button named star
to 30%.
on(release) { star._alpha = 30; }
![]() ![]() ![]() |