code on 2009-1-17 Saqoosha forked:0 favorite:0 lines:12 license : MIT License modified : 2009-01-17 15:21:55 // write as3 code here.. package { import flash.display.*; import flash.text.*; public class Hoge extends Sprite { public function Hoge() { var tf:TextField = this.addChild(new TextField()) as TextField; tf.defaultTextFormat = new TextFormat('Verdana', 32); tf.autoSize = TextFieldAutoSize.LEFT; tf.text = 'Shinachiku!!!'; } } } Code Fullscreen Preview Fullscreen defaultTextFormat TextFieldAutoSize.LEFT autoSize text TextField TextFormat addChild Sprite