             // TODO (chaase): should we push this keyframe-init logic
             // into the MotionPath class instead?
             
+            var keyframes:Array = animationProperties[i].keyframes;
+            if (!keyframes)
+                continue;
             // Create an initial (time==0) value if necessary 
-            var keyframes:Array = animationProperties[i].keyframes;
             if (keyframes[0].time > 0)
             {
                 keyframes.splice(0, 0, new KeyFrame(0, null));

import mx.effects.Animation;
import mx.effects.AnimationProperty;
import mx.effects.EffectInstance;
import spark.effects.KeyFrame;
import spark.effects.MotionPath;
import mx.effects.interpolation.IEaser;
import mx.effects.interpolation.IInterpolator;
import mx.effects.interpolation.NumberInterpolator;

import mx.resources.IResourceManager;
import mx.resources.ResourceManager;
import mx.styles.IStyleClient;

import spark.effects.KeyFrame;
import spark.effects.MotionPath;

use namespace mx_internal;

