0 Replies Latest reply on Apr 20, 2012 4:21 PM by DanClarkCD

    AS2 Keyboard Controls Different from Mac to Windows

    DanClarkCD

      I'm using the following code to allow the user to pause playback by pressing the Enter key on a Mac:

       

      begin.onPress = function(){

          play();

      }

      pause.onPress = function(){

          stop();

      }

      next.onPress = function(){

          play();

      }

       

      The main clip plays and when I press the Enter key on the keyboard, it stops. I also have some stops in some Frames so it stops at various scenes. Press Enter again and it plays. But on Windows it doesn't work. I have to press Alt-Enter for it to work. Is there a way to get Windows keyboards to work the way I want, the same way that it works on a Mac?

       

      Thanks!
      Dan