![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
Flash Player 6.0.79.
Flash MX 2004.
textAreaInstance
.length
Property (read-only); indicates the number of characters in a text field. This property returns the same value as the ActionScript text.length
property,
but is faster. A character such as tab ("\t") counts as one character. The default value is 0.
The following example gets the length of the text field and copies it to the length
variable:
var length = myTextArea.length; // find out how long the text string is
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |