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]);
}
TextRun object
323
Need help?
Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?