 import mx.containers.Panel;
 import mx.core.Application;
 import mx.core.UIComponent;
-import spark.effects.AnimationProperty;
+
 import spark.effects.AnimateShaderTransition;
-import spark.events.AnimationEvent;
+import spark.effects.SimpleMotionPath;
+import spark.effects.animation.Animation;
     
 public class AnimateShaderTransitionInstance extends AnimateInstance
 {

        // shader filter during the animation.
        oldFilters  = target.filters;
    }    
    override protected function endHandler(event:AnimationEvent):void
    {
        target.filters = oldFilters;
        oldFilters = null;
        super.endHandler(event);
    }

    /**

     */
    override protected function setValue(property:String, value:Object):void
    {
        shader.data.progress.value = [value];
        target.filters = [shaderFilter];
    }

    override public function animationStart(animation:Animation):void
    {
        super.animationStart(animation);
        // Note that we don't want the old filters active on the target
        // during the animation; these filters will already be accounted
        // for when we take a bitmap snapshot of the object. Applying
