Button._focusrect 295
Button._alpha
Availability
Flash Player 6.
Usage
my_btn._alpha
Description
Property; the alpha transparency value of the button specified by my_btn. Valid values are 0 (fully
transparent) to 100 (fully opaque). The default value is 100. Objects in a button with
_alpha set
to 0 are active, even though they are invisible.
Example
The following code sets the _alpha property of a button named star_btn to 30% when the
button is clicked:
on(release) {
star_btn._alpha = 30;
}
See also
MovieClip._alpha
, TextField._alpha
Button.enabled
Availability
Flash Player 6.
Usage
my_btn.enabled
Description
Property; a Boolean value that specifies whether a button is enabled. The default value is true.
Button._focusrect
Availability
Flash Player 6.
Usage
my_btn._focusrect
Description
Property; a Boolean value that specifies whether a button has a yellow rectangle around it when it
has keyboard focus. This property can override the global _focusrect property.