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

    private function softKeyboardDeactivateHandler(event:SoftKeyboardEvent):void
    {
        if (this === FlexGlobals.topLevelApplication)
        {                        
            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
