1 Reply Latest reply on Dec 4, 2008 7:44 AM by clbeech

    Multiple KeyPress - Ctrl + A to start an event

    sonum_us
      Hi All,

      PL HELP....

      The application require multiple keypress to trigger an event, for example, press CTRL + A to go to other frame.

      I have used the following function, It does not work out.

      _root.onEnterFrame=function()
      {
      someListener = new Object();
      someListener.onKeyDown = function () {

      if (Key.isDown(65) and Key.isDown(66)) {
      gotoAndPlay("v1");
      }
      }

      Key.addListener(someListener);
      }

      Thanks in advance

      Sonum