TextInput.text

Availability

Flash Player 6.0.79.

Edition

Flash MX 2004.

Usage

textInputInstance.text

Description

Property; the text contents of a TextInput component. The default value is "" (empty string).

Example

The following code places a string in the myTextInput instance then traces that string to the Output panel:

myTextInput.text = "The Royal Nonesuch";
trace(myTextInput.text); // traces "The Royal Nonesuch"