 import mx.core.mx_internal;
 import mx.events.FlexEvent;
 import mx.events.PropertyChangeEvent;
+import mx.events.ResizeEvent;
 import mx.utils.DensityUtil;
 
 import spark.components.SkinnableContainer;

    /**
     *  @private
     */ 
    mx_internal function stage_orientationChangeHandler(event:StageOrientationEvent):void
    {
        disableNextControlAnimation = true;
        invalidateSkinState();

    {
        removeEventListener(FlexEvent.CREATION_COMPLETE, creationCompleteHandler);
        
		// Create a weak listener so stage doesn't hold a reference to the view
		FlexGlobals.topLevelApplication.addEventListener(ResizeEvent.RESIZE, 
            stage_resizeHandler, false, 0, true);
    }
    
	/**
