     {   
         if (effect)
         {
+            activeTransitions.push(this);
             effect.addEventListener(EffectEvent.EFFECT_END, effectComplete);
             
             // Dispatch TRANSITION_START.

    protected function transitionComplete():void
    {
        cleanUp();
        
        if (hasEventListener(FlexEvent.TRANSITION_END))
            dispatchEvent(new FlexEvent(FlexEvent.TRANSITION_END));

     */ 
    private function enterFrameHandler(event:Event):void
    {
        if (event)
            navigator.removeEventListener(Event.ENTER_FRAME, enterFrameHandler);
        
        effect = null;
        transitionComplete();
    }
    
