Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 353 Bytes

File metadata and controls

20 lines (12 loc) · 353 Bytes

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:

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