1 Reply Latest reply on Sep 21, 2007 6:27 AM by kglad

    keyboardListener in AS3.0

    AScracker Level 1
      hi
      I am facing the problem in the keyboardListener i.e when ever i typed the number like 123
      1) when i typed the number 1 it'll display empty
      2) if i typed the number 2 then it display the trace 1.
      can any one help to display when i typed the number in the text
      here i am paste my code
      Text_txt.addEventListener(TextEvent.TEXT_INPUT,keyboardlistener)
      function keyboardlistener(e:TextEvent)
      {
      trace(e.target.text)
      }