1 Reply Latest reply on Jan 20, 2009 3:58 PM by clbeech

    Quick Code Conversion Help, Please!

      The problem is that this code was written (obviously) to be on a button, but I'm now using a keyListener instead and for the life of me, I can't get this code to convert away from the on(release) aspect to regular code.

      Could someone please fix this for me so that the code works with:

      KeyListener = new Object();
      KeyListener.onKeyDown = function() {
      if (Key.getAscii() == 13) {