         }
         else
         {
-            animationProperties = [];
-        }
-        animationProperties.push(mp);
+            motionPaths = [];
+        }
+        motionPaths.push(mp);
     }
 
     // TODO (chaase): This function appears in multiple places. Maybe


import mx.core.mx_internal;
import mx.effects.Effect;
import spark.effects.Animate;
import mx.effects.IEffectInstance;
import mx.events.EffectEvent;
import mx.styles.IStyleClient;

    private static var rotation:Vector3D = new Vector3D();
    private static var position:Vector3D = new Vector3D();

    /**
     * @private
     * This flag is set when any of the translationXYZ, rotationXYZ, scaleXYZ
     * motion path properties are set directly
     */
    private var transformPropertiesSet:Boolean = false;

    //--------------------------------------------------------------------------
    //
    //  Properties
