         // effects manually on the children themselves
         var childrenHiding:Boolean = false; // hidePanelChildren();
 
-        propertyValuesList = 
-            [new PropertyValuesHolder("width", [widthFrom, widthTo], widthBy),
-             new PropertyValuesHolder("height", [heightFrom, heightTo], heightBy)];
+        animationProperties = 
+            [new AnimationProperty("width", widthFrom, widthTo, widthBy),
+             new AnimationProperty("height", heightFrom, heightTo, heightBy)];
                 
         super.play();
 

import flash.events.Event;

import mx.effects.Animation;
import mx.effects.PropertyValuesHolder;
import mx.events.AnimationEvent;

import mx.components.FxApplication;


    /**
     * Handles the end event from the tween. The value here is an Array of
     * values, one for each 'property' in our animationProperties.
     */
    override protected function endHandler(event:AnimationEvent):void
    {
