actionscript 3 - Loading a TLF text inside a symbol -


i got symbol has tlf text placed, , need retrieve information of text , use it. thing is, everytime kind of text on stage, weird result, in content of currenttarget of load result, instead of children of movieclip maintimeline__preloader. <- this?, , why tlf text break symbol?.

do guys know of way this?.

thanks.

(the classic text works, but, don't informatino it, i'd have info font used, style, etc, think tlf text used this, correct me if im wrong).

frankly, tlf text horrible beast , messes swf if not used absolutely correctly.

luckily can details on formatting used in classic text using gettextformat method so:

var textfield:textfield; var textformat:textformat;  textformat = textfield.gettextformat(0,0); //replace these numbers in text want read formatting  trace(textformat.color) trace(textformat.font) trace(textformat.bold) trace(textformat.italic) //etc 

Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -