466
Objects
TextRun object
Availability
Flash MX 2004.
Description
The TextRun object represents a run of characters that have attributes that match all of the
properties in the
TextAttrs object
. This object is a property of the Text object
(
text.textRuns
).
Property summary for the TextRun object
In addition to the properties available for use with the
Text object
, the TextRun object
provides the following properties.
textRun.characters
Availability
Flash MX 2004.
Usage
textRun.characters
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);
Property
Description
textRun.characters
A string that represents the text contained in the TextRun object.
textRun.textAttrs
The
TextAttrs object
containing the attributes of the run of text.
CHAPTER 42
Objects
Summary of Contents for FLASH 8-EXTENDING FLASH
Page 1: ...Extending Flash...
Page 38: ...38 Top Level Functions and Methods...
Page 532: ...532 Objects...
Page 554: ...554 C Level Extensibility...