package utils
{
import flash.events.Event;
import spark.effects.animation.Animation;
public class AnimationEvent extends Event
{
public static const START:String = "start";
public static const STOP:String = "stop";
public static const END:String = "end";
public static const REPEAT:String = "repeat";
public static const UPDATE:String = "update";
private var _animation:Animation;
public function AnimationEvent(type:String, animation:Animation, bubbles:Boolean=false, cancelable:Boolean=false)
{
super(type, bubbles, cancelable);
_animation = animation;
}
public function get animation():Animation
{
return _animation;
}
}
}