 import flash.events.Event;
 
 import flex.core.Group;
+import flex.effects.Animation;
 import flex.effects.PropertyValuesHolder;
 import flex.graphics.graphicsClasses.GraphicElement;
 

     *  be visible (or not) or removed (or not). 
     *  @private
     */
    override public function onTweenEnd(value:Object):void
    {
        // Call super function first so we don't clobber resetting the alpha.
        super.onTweenEnd(value);    
            
        // TODO: ideally, we would put the visible=false logic in this effect
        // We don't want to depend on a private variable on the target

import mx.events.FlexEvent;
import mx.managers.LayoutManager;
    
public class FadeInstance extends AnimateInstance
{
    public function FadeInstance(target:Object)
    {
