0 Replies Latest reply on Jan 21, 2010 6:21 PM by dycus

    Flash compatibility with Kensington (or other) presenter

    dycus

      I have a simple movie with the following code. The idea is to move from one frame to the next or back using the arrow keys on the keyboard:

      Code:
      stop();

      //listen for key press
      stage.addEventListener(KeyboardEvent.KEY_DOWN, myKeyDown);

      //if left or right arrow, go to previous or next frame
      function myKeyDown(e:KeyboardEvent):void {

      switch (e.keyCode) {
      case Keyboard.LEFT :
      prevFrame();
      break;

      case Keyboard.RIGHT :
      nextFrame();
      break;
      }
      }

      So, this works fine, except that I'm trying to use a

      Kensington Presenter to control the keyboard remotely. It should be sending a keydown command to the

      computer for either the right or left arrow keys, but it does not work.

      It does work on a legacy Director project I have, using a similar syntax.

      Any thoughts would be appreciated.