Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Many times when I'm working on Flash games I'll find that a particular combination of keys held at the same time doesn't register, e.g. LEFT, DOWN and SPACEBAR.

I know from my days playing Doom this can be caused by the keyboard hardware, but surely technology has moved on since those spongy beige PS2 keyboards?

So my question: are these problems caused by Flash, by the hardware, by the operating system, or something else?

share|improve this question
up vote 6 down vote accepted

it's still keyboard hardware limitations.

share|improve this answer

The problem also occurs in Java games so I suspect it's on the OS level or lower.

share|improve this answer
This is really a comment, not an answer to the question. Please use "add comment" to leave feedback for the author. – doppelgreener Aug 22 '12 at 6:52

What you want to do is to have Boolean variables and turn them on and off while they are pressed and un-pressed. Flash has a combination of just a couple of keys(i do not know why) but you can easily get around it by just keeping your variables up to date when they are pressed and released.

share|improve this answer
-1 In this circumstance, Iain is talking about a situation where Flash actually never gets informed of the keypress, so this is useless. – doppelgreener Aug 22 '12 at 6:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.