1 Reply Latest reply on Dec 7, 2010 6:27 PM by commadelimited

    AIR 2.5 How can I disable the IME in TextInput?

    Kevin.Shin

      This is my code. IME is enabled always.

      Thanks.

       

       

      public function onKeyDown(event:KeyboardEvent):void

      {

       

      trace(IME.enabled, event, IME.conversionMode, username.enableIME, username.imeMode);

      }

       

      <s:TextInput

       

       

      id="username" keyDown="onKeyDown(event)" focusIn="IME.enabled=false" focusOut="IME.enabled=true" />