public class Main extends Sprite { public function Main( ) { var t:TextField = new TextField( ); t.text = "Hello"; t.autoSize = TextFieldAutoSize.LEFT; addChild(t);
while (t.x <= 300) { t.x += 10; } } } }
Related Scripts with Example Source Code in same category :