beautypg.com

Adobe Extending Flash Professional CS4 User Manual

Page 484

background image

462

EXTENDING FLASH CS4 PROFESSIONAL

TextRun object

Description
Property; the text contained in the TextRun object.

Example
The following example displays the characters that make up the first run of characters in the selected text field in the
Output panel:

fl.trace(fl.getDocumentDOM().selection[0].textRuns[0].characters);