text.length

#### Availability

Flash MX 2004.

#### Usage

text.length

#### Description

Read-only property; an integer that represents the number of characters in the Text object.

#### Example

The following example returns the number of characters in the selected text:

javascript
var textLength = fl.getDocumentDOM().selection[0].length;