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
Property summary for the TextRun object
In addition to the properties available for use with the
the following properties.
Property
textRun.characters
textRun.textAttrs
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);
textRun.textAttrs
Availability
Flash MX 2004.
Usage
textRun.textAttrs
Description
Property; the
TextAttrs object
322
Chapter 3: Objects
TextAttrs
object. This object is a property of the Text object (
Description
A string that represents the text contained in the TextRun object.
The
TextAttrs object
containing the attributes of the run of text.
Text
object, the TextRun object provides
containing the attributes of the run of text.
CHAPTER 3
Objects
).
text.textRuns
Need help?
Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?
Questions and answers