Author: cframpton
Date: Wed Nov 28 21:48:10 2012
New Revision: 1414945

URL: http://svn.apache.org/viewvc?rev=1414945&view=rev
Log:
>From whiteboard/cframpton/adobe.next.  
>SoftKeyboardEvent.SOFT_KEYBOARD_DEACTIVE events are now attached to the text 
>component that activates the softkeyboard instead of the application.  
>SDK-29973.

Modified:
    
incubator/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/Application.as

Modified: 
incubator/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/Application.as
URL: 
http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/Application.as?rev=1414945&r1=1414944&r2=1414945&view=diff
==============================================================================
--- 
incubator/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/Application.as
 (original)
+++ 
incubator/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/Application.as
 Wed Nov 28 21:48:10 2012
@@ -1825,6 +1825,10 @@ public class Application extends Skinnab
      */    
     private function softKeyboardActivateHandler(event:SoftKeyboardEvent):void
     {        
+        // Add a listener for the softKeyboard deactivate event to the event 
target
+        
event.target.addEventListener(SoftKeyboardEvent.SOFT_KEYBOARD_DEACTIVATE, 
+                                      softKeyboardDeactivateHandler);
+        
         if (this === FlexGlobals.topLevelApplication)
         {
             if (softKeyboardTarget && softKeyboardTarget != event.target)


Reply via email to