      */
     private function systemManager_resizeHandler(event:Event):void
     {
-       	// Remove explicit settings if due to Resize effect
-       	softKeyboardEffectResetExplicitSize();
+        // Remove explicit settings if due to Resize effect
+        softKeyboardEffectResetExplicitSize();
         
         // Screen resize might require a new arrow direction and callout position
         invalidatePosition();
         
-      	if (!isSoftKeyboardEffectActive)
+        if (!isSoftKeyboardEffectActive)
         {
             // Force validation and use new screen size only if the keyboard
             // effect is not active. The stage dimensions may be invalid while 
             // the soft keyboard is active. See SDK-31860.
             validateNow();
         }
-     }
-    
-    /**
-    *  @private
-    */
-    private function stage_orientationChangeHandler(event:StageOrientationEvent):void
-    {
-        //set flag to use in updateDisplayList
-        //for queuing call to updatePopUpPosition
-        stageOrientationChangedFlag = true;
-    }
-  }
+    }
 }
+}
        // explicit changes to horizontalPostion and verticalPosition.
        if (isOpen && invalidatePositionFlag)
        {
            //check if stage orientation changed
            if (stageOrientationChangedFlag)
            {
                //queue call to updatePopUpPosition
                callLater(updatePopUpPosition);
                stageOrientationChangedFlag = false;
            }
            else
            {
                updatePopUpPosition();
            }
        }

        // Position the arrow

    //--------------------------------------------------------------------------
    
    private var invalidatePositionFlag:Boolean = false;

    //--------------------------------------------------------------------------
    //
