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

import mx.events.TweenEvent;
import mx.styles.IStyleClient;
    
public class ResizeInstance extends AnimatePropertiesInstance
{
    include "../../core/Version.as";


import flash.events.Event;

import flex.component.Panel;
import flex.effects.Animation;
import flex.effects.PropertyValuesHolder;
import flex.graphics.IGraphicElement;

