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