Label.text

Availability

Flash Player 6 (6.0.79.0).

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 my_label and sends the value to the Output panel:

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