Programmatic Animation : Animation : Animation Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Animation » Animation »

 

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;
        }
      }
    }
}

        



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


Flash / Flex / ActionScript examples

 Navioo Animation
» Animation