      * Inserts a keyframe into an existing set of keyframes according to
      * its time. Keyframes are sorted in increasing time order.
      */
-    private function insertKeyframe(keyframes:Array, newKF:KeyFrame):void
+    private function insertKeyframe(keyframes:Vector.<Keyframe>, newKF:Keyframe):void
     {
         for (var i:int = 0; i < keyframes.length; i++)
         {

        }
        else
        {
            motionPaths = [];
        }
        motionPaths.push(mp);
    }

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

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