 import mx.styles.IStyleClient;
 
 import spark.core.IGraphicElement;
+import spark.effects.animation.Keyframe;
+import spark.effects.animation.MotionPath;
 import spark.effects.supportClasses.AnimateTransformInstance;
 
 use namespace mx_internal;

        }
        // Now create a MotionPath from the result
        var mp:MotionPath = new MotionPath(property);
        mp.keyframes = [new KeyFrame(0, valueFrom),
            new KeyFrame(duration, valueTo, valueBy)];

        // Finally, integrate this MotionPath in with the existing
        // MotionPath objects, if there are any

        // so that they are still available for reuse upon re-playing the effect
        var tmpStartDelay:Number = startDelay;
        startDelay = 0;
        var tmpAnimProps:Vector.<MotionPath> = motionPaths;
        motionPaths = null;
        super.initInstance(instance);
        startDelay = tmpStartDelay;
