     /**
      *  @private
      */ 
-    private function stage_orientationChangeHandler(event:StageOrientationEvent):void
+    private function application_resizeHandler(event:Event):void
     {
         if (isActive)
 			updateOrientationState();

        removeEventListener(FlexEvent.CREATION_COMPLETE, creationCompleteHandler);
        
        // Create a weak listener so stage doesn't hold a reference to the view
        systemManager.stage.addEventListener(StageOrientationEvent.ORIENTATION_CHANGE, 
            stage_orientationChangeHandler, false, 0, true);
        
		updateOrientationState();
    }
    
    //--------------------------------------------------------------------------

import mx.core.mx_internal;
import mx.events.FlexEvent;
import mx.events.PropertyChangeEvent;
import mx.events.ResizeEvent;

import spark.core.ContainerDestructionPolicy;
import spark.events.ViewNavigatorEvent;
