User Guide

740 Chapter 6: Components Dictionary
Usage
textAreaInstance.text
Description
Property; the text contents of a TextArea component. The default value is "" (an empty string).
Example
The following code places a string in the myTextArea instance, and then traces that string to the
Output panel:
myTextArea.text = "The Royal Nonesuch";
trace(myTextArea.text); // traces "The Royal Nonesuch"
TextArea.vPosition
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
textAreaInstance.vPosition
Description
Property; defines the vertical scroll position of text in a text field. This property is useful for
directing users to a specific paragraph in a long passage, or creating scrolling text fields. You can
get and set this property. The default value is 0.
Example
The following code displays the topmost characters in a field:
myTextArea.vPosition = 0;
TextArea.vScrollPolicy
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
textAreaInstance.vScrollPolicy
Description
Property; determines whether the vertical scroll bar is always present ("on"), is never present
(
"off"), or appears automatically according to the size of the field ("auto"). The default value
is
"auto".