var textFormat:TextFormat; this.createTextField("txtshow", 2,80,25,240,1000); txtshow.wordWrap=true; //自动换行,可设置为false不自动换行 txtshow.text="12345adsf67891234567asdfasdf"; //初设的字 textFormat= new TextFormat(); textFormat.bold = true; //加粗 textFormat.color=0xffffff;//白色字 textFormat.letterSpacing=2;//字间距2 textFormat... |