     private function softKeyboardDeactivateHandler(event:SoftKeyboardEvent):void
     {
         if (this === FlexGlobals.topLevelApplication)
-        {                        
+        {            
+            isSoftKeyboardActive = false;
             var sm:SystemManager = systemManager as SystemManager;
             var scaleFactor:Number = 1;
             

     *  has been activated. 
     */    
    private function softKeyboardActivateHandler(event:SoftKeyboardEvent):void
    {
        if (this === FlexGlobals.topLevelApplication)
        {
            // Get the keyboard size
            var keyboardRect:Rectangle = stage.softKeyboardRect;
            
            var sm:SystemManager = systemManager as SystemManager;
            var scaleFactor:Number = 1;

     */
    private var softKeyboardHandlersAdded:Boolean = false;
    
    /**
     *  @private
     */
    private static var _softKeyboardBehavior:String = null;
    
    /**
     *  @private
     */
    mx_internal var isSoftKeyboardActive:Boolean = false;
    
    /**
     *  @private
