             addEventListener(SoftKeyboardEvent.SOFT_KEYBOARD_ACTIVATE, 
                 softKeyboardActivateHandler, true, 
                 EventPriority.DEFAULT, true);
+            addEventListener(SoftKeyboardEvent.SOFT_KEYBOARD_DEACTIVATE, 
+                softKeyboardDeactivateHandler, true, 
+                EventPriority.DEFAULT, true);
         }
     }
 

     */ 
    private function softKeyboardDeactivateHandler(event:SoftKeyboardEvent):void
    {
        // Remove event listener
        event.target.removeEventListener(SoftKeyboardEvent.SOFT_KEYBOARD_DEACTIVATE, softKeyboardDeactivateHandler);
        
        if (this === FlexGlobals.topLevelApplication)
        {            
            isSoftKeyboardActive = false;

     */    
    private function softKeyboardActivateHandler(event:SoftKeyboardEvent):void
    {        
        if (this === FlexGlobals.topLevelApplication)
        {
            // Get the keyboard size
