         {
             makeInvisible = true;
         }
-        
-        motionPaths = new <MotionPath>[
-            new SimpleMotionPath("alpha",alphaFrom, alphaTo, duration)];
+
+        motionPaths = new <MotionPath>[new MotionPath("alpha")];
+        motionPaths[0].keyframes = new <Keyframe>[new Keyframe(0, alphaFrom), 
+            new Keyframe(duration, alphaTo)];
         
         super.play();
     }

    public var alphaFrom:Number;
    
    //----------------------------------
    //  alphaFrom
    //----------------------------------

    /** 


import spark.components.Group;
import spark.effects.animation.Animation;
import spark.effects.animation.Keyframe;
import spark.effects.animation.MotionPath;
import spark.effects.animation.SimpleMotionPath;
import spark.primitives.supportClasses.GraphicElement;
