TextRun object
467
textRun.textAttrs
Availability
Flash MX 2004.
Usage
textRun.textAttrs
Description
Property; the
TextAttrs object
containing the attributes of the run of text.
Example
The following example displays the properties of the first run of characters in the selected text
field in the Output panel.
var curTextAttrs = fl.getDocumentDOM().selection[0].textRuns[0].textAttrs;
for (var prop in curTextAttrs) {
fl.trace(prop + " = " + curTextAttrs[prop]);
}
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...