[code]
var tf:TextFormat = new TextFormat();
tf.size = 25;
tf.color = 0xff00ff;
tv.defaultTextFormat = tf;
tv.text = JsonData.version;
//for debug

var _txt:TextArea = new TextArea();
addChild(_txt);
_txt.height = this.stage.stageHeight-100;
_txt.width = 1000;
_txt.x = 450;
_txt.y = 50;
_txt.visible = false;
_txt.setStyle("textFormat", tf);
txt.validateNow(); //总是显示最后一行 _txt.verticalScrollPosition=_txt.maxVerticalScrollPosition;[/code]