> 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