Animating by Frames : Animation : Animation Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Animation » Animation »

 

Animating by Frames


 
package
{
    import flash.display.*;
    import flash.events.Event;

    public class Main extends Sprite
    {
        public function FrameAnimation()
        {
            addEventListener(Event.ENTER_FRAME, onEnterFrame);
        }

        protected function onEnterFrame(event:Event):void
        {
            trace("animating");
        }
    }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo Animation
» Animation