[thelist] Actionscript - Using TextFormat.font

Benjer futureweb at macmail.com
Thu Dec 19 04:40:00 CST 2002


> I think the key is getting the variable's value into the script with
> quotes around it.

try:

//make var a string
myTextFormat.font = "";
myTextFormat.font = _root.fontstyle;

or:
myTextFormat.font = _root.fontstyle + "";

benjer





More information about the thelist mailing list