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