package {
import flash.display.Sprite;
import flash.text.TextField;
publicclass Main extends Sprite {
public function Main( ) {
var field:TextField = new TextField( );
field.autoSize = flash.text.TextFieldAutoSize.CENTER;
field.text = "text text text text text text text text text text text text text text text text text text text text text text text text text ";
addChild(field);
}
}
}