5 Replies Latest reply on Jun 9, 2007 4:10 AM by akapivo

    Key Trapping Problem

    SmileKZS
      Simple description:
      There is a TextField in the TextInput Component. When the TextInput gets focus, the TextField gets focus instead.
      Now, I have a TextInput on the stage. The focus is on the TextInput('s TextField) and I WANT TO:
      Receive a Key.onKeyDown event when I push the arrow keys on the keyboard while the focus is in the textfield

      Unfortunately the textfield "EATS" the event when the arrow keys on the keyboard are pressed... They are used to move the carets... Then the event are "eaten" by the TextField. Now I don't want it to be eaten. I want to capture the Key.onKeyDown event. I am using AS 2.0 and Anyone got a way to figure out a way to capture the event?

      Thanks
      BeNJamin Jones