         super.play();
 
         if (childrenHiding)
-            tween.pause();
+            animation.pause();
         
     }
 

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

        restorePanelChildren();
    }

            // If all panels have finished their "hide children" effect,
            // then it's time to start our Resize effect.
            if (--numHideEffectsPlaying == 0)
                animation.resume();     
        } 
    }
    
