         transitionGroup = null;
         cachedNavigator = null;
         
+        flipEffect.removeEventListener("effectUpdate", cubeEffectUpdateHandler);
+        flipEffect.removeEventListener("effectUpdate", effectUpdateHandler);
+        flipEffect = null;
+        
         super.cleanUp();
     }
-    
 
 }
 }

        alignCubeFaces(cachedNavigator, targetNavigator);
                        
        // Construct our animation sequence now that actors are configured.
        return createCubeFlipAnimation(transitionGroup, vertical ? viewHeight : viewWidth); 
    }
    
    /**

            if (!consolidatedTransition)
                startView.visible = false;
            else
                cachedNavigator.displayObject.visible = false;
        }
        
        // Ensure transform matrix is updated even when layout is disabled.
        transitionGroup.validateDisplayList();
    }
    
    //--------------------------------------------------------------------------
