Textinput.text - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

TextInput.text

Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX 2004.
Usage
textInputInstance.text
Description
Property; the text contents of a TextInput component. The default value is
(an
""
empty string).
Example
The following code places a string in the TextInput instance called my_ti, and then traces that
string to the Output panel.
You must first drag a TextInput component to the Stage and give it an instance name of
; then add the following code to Frame 1.
my_ti
/**
Requires:
- TextInput instance on Stage (instance name: my_ti)
*/
var my_ti:mx.controls.TextInput;
my_ti.text = "The Royal Nonesuch";
trace(my_ti.text); // "The Royal Nonesuch"
TextInput.text
1231

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents