User Guide

736 Chapter 6: Components Dictionary
TextArea.maxChars
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
textAreaInstance.maxChars
Description
Property; the maximum number of characters that the text field can contain. A script may insert
more text than the
maxChars property allows; the property indicates only how much text a user
can enter. If the value of this property is
null, there is no limit to the amount of text a user can
enter. The default value is
null.
Example
The following example limits the number of characters a user can enter to 255:
myTextArea.maxChars = 255;
TextArea.maxHPosition
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
textAreaInstance.maxHPosition
Description
Property (read-only); the maximum value of TextArea.hPosition. The default value is 0.
Example
The following code causes the text to scroll to the far right:
myTextArea.hPosition = myTextArea.maxHPosition;
See also
TextArea.vPosition