var my_fmt:TextFormat = new TextFormat(); my_fmt.font = "Tahoma"; txtt.wordWrap = true; txtt.embedFonts = true; txtt.setTextFormat(my_fmt);