TextInput.length

Availability

Flash Player 6.0.79.

Edition

Flash MX 2004.

Usage

inputInstance.length

Description

Property (read-only); a number that indicates the number of characters in a TextInput component. A character such as tab ("\t") counts as one character. The default value is 0.

Example

The following code determines the number of characters in the myTextInput string and copies it to the length variable:

var length = myTextInput.length;