TextField._alpha

Availability

Flash Player 6.

Usage

my_txt._alpha

Description

Property; sets or retrieves the alpha transparency value of the text field specified by my_txt. Valid values are 0 (fully transparent) to 100 (fully opaque). The default value is 100.

Example

The following code sets the _alpha property of a text field named text1_txt to 30% when the button is clicked:

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

See also

Button._alpha, MovieClip._alpha