     {
         // Remember some common references.
         parentNavigator = navigator.parentNavigator;
-        targetNavigator = parentNavigator ? parentNavigator : navigator;
-        
-        if (navigator is ViewNavigator)
-            actionBar = ViewNavigator(navigator).actionBar;
-        
-        if (targetNavigator is TabbedViewNavigator)
-            tabBar = TabbedViewNavigator(targetNavigator).tabBar;
+        
+        if (parentNavigator is TabbedViewNavigator)
+        {
+           targetNavigator = parentNavigator;
+           tabBar = TabbedViewNavigator(parentNavigator).tabBar;
+        }
+        else
+        {
+            targetNavigator = navigator;
+        }
+        
+        if (navigator)
+            actionBar = navigator.actionBar;
         
         // Determine first if we're able to transition our control bars independently
         // of our view content.  If we are, then capture the necessary action bar
         // bitmap snapshots for use later by our default action bar transition.
-        consolidatedTransition = consolidatedTransition ? 
-            consolidatedTransition : !canTransitionControlBarContent();
+        if (!consolidatedTransition)
+            consolidatedTransition = !canTransitionControlBarContent();
         
         // Snapshot component parts of action bar in preparation for our 
         // default action bar transition, (if appropriate).
-        if (!consolidatedTransition && navigator is ViewNavigator)
+        if (!consolidatedTransition)
         {
             if (componentIsVisible(actionBar))
             {

package spark.transitions
{
    
import flash.display.BitmapData;
import flash.display.DisplayObject;
import flash.display.DisplayObjectContainer;
import flash.events.Event;

            case ViewTransitionDirection.DOWN:
                animatedProperty = "y";
                slideDistance = -actionBar.height / 2.5;
                verticalTransition = true;
                break;
            
            case ViewTransitionDirection.UP:
                animatedProperty = "y";
                slideDistance = actionBar.height / 2.5;
                verticalTransition = true;
                break;
            
