3 Replies Latest reply on Mar 27, 2012 4:29 AM by Ned Murphy

    AS2 keypress to advance time line

    nelson&jason Level 1

      Hi, I'm using this action for specific keys to simply advance the time line -


      on(keyPress "<Space>"){




      what if I want to use all the keys of the keyboard to control this action ? Is the group selector to use ? Like  "all keyboard" "all keys"?


      I have got AS3 code to do it -



      stage.addEventListener(KeyboardEvent.KEY_DOWN, fl_KeyboardDownHandler);



      function fl_KeyboardDownHandler(event:KeyboardEvent):void {










      But wanted it for AS2 ?


      Hope someone can lead me in the right direction. Thanks