4 Replies Latest reply on May 21, 2007 10:37 AM by kglad

    define keycode

    bgersak
      How can I define keyCode (ESC button) in the following example to make the movie play:

      inv_btn.addEventListener(KeyboardEvent.KEY_DOWN,buttonESC);
      function buttonESC(Event:KeyboardEvent):void {
      play();
      }