5 Replies Latest reply on Oct 22, 2014 11:39 AM by Ned Murphy

    I'D LIKE TO CHANGE MY CODE FROM USING THE LEFT KEY=PREVIOUS FRAME/ RIGHT KEY= NEXT FRAME TO  ANY KEY=NEXT FRAME. HERE IS MY CODE.

    bhalrog Level 1

      I'D LIKE TO CHANGE MY CODE FROM USING THE LEFT KEY=PREVIOUS FRAME/ RIGHT KEY= NEXT FRAME TO

      ANY KEY=NEXT FRAME. HERE IS MY CODE. PLEASE HELP ME OBI WAN KENOBI, YOU'RE MY ONLY HOPE:

      stop(); stage.addEventListener(KeyboardEvent.KEY_DOWN, changeSection); function changeSection(event:KeyboardEvent):void { switch (event.keyCode) { case Keyboard.RIGHT : nextFrame(); break; case Keyboard.LEFT : prevFrame(); } }