0 Replies Latest reply on Jun 5, 2009 9:54 AM by Carol L. Frampton

    [svn:fx-trunk] 7581: -Redo workaround for SDK21552.

    Carol L. Frampton Level 2

      Revision: 7581

      Author:   cframpto@adobe.com

      Date:     2009-06-05 09:54:24 -0700 (Fri, 05 Jun 2009)

       

      Log Message:

      ***********

      -Redo workaround for SDK21552.  It turns out that in AIR all keyboard events are cancelable so blindly calling event.preventDefault() after the TCM keyDownHandler has processed the event results in the default behavior for normal keys being canceled - hence no text gets inserted.  It also turns out that our SystemManager.keyDownHandler is converting the keyDown events for the set of nav keys used by the scroller into cancelable events.  For the player, normal keys are not cancelable so blindly calling preventDefault() only canceled the nav keys which is what we wanted.

       

      - Remove a no longer needed check in the text setter since TCM.setText() now does the check.

       

      QA Notes:

      Doc Notes:

      Bugs: SDK-21580

      Reviewers: Gordon

       

      Ticket Links:

      ************

          http://bugs.adobe.com/jira/browse/SDK-21580

       

      Modified Paths:

      **************

          flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as

          flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/RichEditable TextContainerManager.as