Label.text

Availability

Flash Player 6.0.79.

Edition

Flash MX 2004.

Usage

labelInstance.text

Description

Property; the text of a label. The default value is "Label".

Example

The following code sets the text property of the Label instance labelControl and sends the value to the Output panel:

labelControl.text = "The Royal Nonesuch";
trace(labelControl.text);