テキストフィールドのサイズを自動的に調節するようにするには
//ボタンアクション
on (release) {
switch (this._txt.autoSize){
case "none":
this._txt.autoSize = "left";
break;
case "left":
this._txt.autoSize = "center";
break;
case "center":
this._txt.autoSize = "right";
break;
case "right":
this._txt.autoSize = "none";
}
this.autosize_txt.text = this._txt.autoSize;
this.size_txt.text = this._txt.textWidth + "×" + this._txt.textHeight;
}

説明などは本書を参考にしてください。