3 Replies Latest reply on Oct 6, 2010 6:55 PM by dn0myar06

    How to put a keyboard letter in Actionscript??

    antworker

      Hello everyone.

      I've got a problem here.

       

      I want a keyboard letter in this code:

      if(Key.isDown(Key.RIGHT))
      {
      this._x += 15
      }
      

       

       

      As you see now there is the right key that is attached to the code but I'm making a 2 player game and I want one of the players to use the letters WASD.

      Just putting the letter D in there dosen't work.

      Any ideas?

      Thank you.