 {
     
 import flash.display.BlendMode;
+import flash.geom.Point;
 
 import mx.core.mx_internal;
 import mx.effects.IEffect;

        addComponentToContainer(transitionGroup, targetNavigator.skin);
        
        // Position our snapshot above endView.
        cachedNavigator.includeInLayout = false;
        transitionGroup.addElement(cachedNavigator);
        transitionGroup.x = transitionGroup.y = 0;
        
        // Ensure that appropriate surfaces are cached and snapshots rendered.
        transitionGroup.validateNow();

        
        var oldVisibility:Boolean = endView.visible;
        endView.visible = false;
        cachedNavigator = getSnapshot(targetNavigator, 0, cachedNavigatorGlobalPosition);
        endView.visible = oldVisibility;
    }
    
