textarea更新后 自动显示 最后一行
private function send(){
if(!input.text==""){
text.text+=nametop.text+"说:"+input.text+"\n";
input.text="";
text.validateNow();
text.verticalScrollPosition=text.maxVerticalScrollPosition;
}
if(!input.text==""){
text.text+=nametop.text+"说:"+input.text+"\n";
input.text="";
text.validateNow();
text.verticalScrollPosition=text.maxVerticalScrollPosition;
}