 
         // On zoom out, place the cachedNavigator above the targetNavigator 
         var index:int = getComponentChildIndex(targetNavigator, targetNavigator.parent as UIComponent);
-        if (mode == ZoomViewTransitionMode.OUT)
+        if (mode == "out") // avoid deprecation warning for ZoomViewTransitionMode.OUT
             index++;
         addComponentToContainerAt(cachedNavigatorGroup, DisplayObjectContainer(targetNavigator).parent as UIComponent, index);
 

    override protected function createConsolidatedEffect():IEffect
    {        
        // If we have no cachedNavigator then there is not much we can do.
        if (!cachedNavigator && mode == ZoomViewTransitionMode.OUT)
            return null;
        
        // Add a group to contain our snapshot view of the original navigator.

        // transitioning in or out.
        if (consolidatedTransition)
        {
            if (mode == "out") // avoid deprecation warning for ZoomViewTransitionMode.OUT
            {
                targetSnapshot = cachedNavigator;
                targetSnapshotGlobalPosition = cachedNavigationGroupGlobalPosition.clone();
