         {
             if (transitionsEnabled && animateActionBarVisbility)
             {
+                actionBarProps = {target:actionBar, showing:showingActionBar};
                 actionBarVisibilityEffect = showingActionBar ?
                                             createActionBarShowEffect() :                        
                                             createActionBarHideEffect();

        animate.motionPaths.push(new SimpleMotionPath("height", props.start.height, props.end.height));
        animate.motionPaths.push(new SimpleMotionPath("y", props.start.y, props.end.y));

        props.target.includeInLayout = false;
        props.target.cacheAsBitmap = true;    
        
        return animate;
    }
    

        
        // Clear flags and temporary properties
		actionBarVisibilityEffect = null;
        
        if (activeView)
            activeView.setActionBarVisible(actionBarProps.showing);
    
        // Check if the visible and cacheAsBitmap properties have been set.  These are
        // only set if the default transitions are used.  If developers create their
        // own animations, these properties won't be set.
        if (actionBarProps.start != undefined)
        {
    		actionBar.visible = actionBar.includeInLayout = !actionBarProps.start.visible;
            actionBar.cacheAsBitmap = actionBarProps.start.cacheAsBitmap;
        }
        
        actionBarProps = null;
        
        // Content group properties object only created if the default transitions were used
        if (contentGroupProps)
        {
		    contentGroup.includeInLayout = contentGroupProps.start.includeInLayout;
    		contentGroupProps = null;
        }
    }
