 import flash.geom.Point;
 import flash.geom.Rectangle;
 
-import mx.core.IVisualElement;
 import mx.core.IVisualElementContainer;
 import mx.core.UIComponent;
 import mx.core.mx_internal;
-import mx.effects.Effect;
 import mx.effects.IEffect;
 import mx.effects.Parallel;
-import mx.effects.Pause;
 import mx.events.EffectEvent;
 import mx.events.FlexEvent;
 
 import spark.components.ActionBar;
 import spark.components.Group;
-import spark.components.Image;
 import spark.components.TabbedViewNavigator;
 import spark.components.View;
 import spark.components.ViewNavigator;
 import spark.components.supportClasses.ButtonBarBase;
 import spark.components.supportClasses.ViewNavigatorBase;
 import spark.effects.Animate;
-import spark.effects.Fade;
 import spark.effects.animation.MotionPath;
 import spark.effects.animation.SimpleMotionPath;
 import spark.effects.easing.IEaser;

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

    {
        // Remember some common references.
        parentNavigator = navigator.parentNavigator;
        
        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.
        if (!consolidatedTransition)
            consolidatedTransition = !canTransitionControlBarContent();
        
        // Snapshot component parts of action bar in preparation for our 
        // default action bar transition, (if appropriate).
        if (!consolidatedTransition)
        {
            if (componentIsVisible(actionBar))
            {
