Flash CS3 Documentation |
|||
| Extending Flash > Objects > TextRun object > textRun.textAttrs | |||
Flash MX 2004.
textRun.textAttrs
Property; the TextAttrs object containing the attributes of the run of text.
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]);
}
Flash CS3
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/9.0/main/00004515.html