Programmatic Animation
package{ import flash.display.*; import flash.text.*; 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; } } } }