         transitionGroup = new Group();
         transitionGroup.autoLayout = false;
         transitionGroup.includeInLayout = false;
-        addComponentToContainer(transitionGroup, actionBarSkin);
         transitionGroup.width = actionBar.width;
         transitionGroup.height = actionBar.height;
+        addComponentToContainer(transitionGroup, actionBarSkin);
         
         // Construct our parallel effect.
-        var effect:Parallel = new Parallel();
+        var actionBarEffect:Parallel = new Parallel();
         
         // Calculate the slide distance based on direction.
         switch (actionBarTransitionDirection)

import spark.components.supportClasses.ButtonBarBase;
import spark.components.supportClasses.ViewNavigatorBase;
import spark.effects.Animate;
import spark.effects.animation.MotionPath;
import spark.effects.animation.SimpleMotionPath;
import spark.effects.easing.IEaser;

                {
                    actionBar.skin.invalidateDisplayList();
                }
                
                if (actionBar.actionGroup)
                    actionBar.actionGroup.postLayoutTransformOffsets = null;
                
                if (actionBar.navigationGroup)
                    actionBar.navigationGroup.postLayoutTransformOffsets = null;
            }
            
            verticalTransition = false;
