     override public function play():void
     {
         calculateDimensionChanges();
-        
-        // If the target is a Panel, then find all Panel objects that will
-        // be affected by the animation.  Deliver a "resizeStart" event to 
-        // each affected Panel, and then wait until the Panel finishes
-        // hiding its children.
-        // TODO: We should axe this from Resize and enable the
-        // functionality in a different manner, such as setting hiding
-        // effects manually on the children themselves
-        var childrenHiding:Boolean = false; // hidePanelChildren();
-
-        animationProperties = 
-            [new AnimationProperty("width", widthFrom, widthTo, duration, widthBy),
-             new AnimationProperty("height", heightFrom, heightTo, duration, heightBy)];
+
+        motionPaths = 
+            [new SimpleMotionPath("width", widthFrom, widthTo, duration, widthBy),
+             new SimpleMotionPath("height", heightFrom, heightTo, duration, heightBy)];
                 
         // Also animate any size-related constraints that change between
         // transition states

    public function ResizeInstance(target:Object)
    {
        super(target);
        
        roundValues = true;
    }

    //--------------------------------------------------------------------------

            }
        }
        
        super.play();        
    }

    //--------------------------------------------------------------------------
