Usage
textAreaInstance.text
Description
Property; the text contents of a TextArea component. The default value is
Example
The following code places a string in 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 (
(
), or appears automatically according to the size of the field (
"off"
is
.
"auto"
740
Chapter 6: Components Dictionary
instance, and then traces that string to the
myTextArea
(an empty string).
""
), is never present
"on"
). The default value
"auto"
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?
Questions and answers