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

    Flash compatibility with Kensington (or other) presenter

    dycus Level 1

      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:


      //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 :

      case Keyboard.RIGHT :

      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.