If you set wmode when you embed your Flash movie, key presses will not work in Firefox. This is because, in Firefox, Key.isDown() always returns false.
If using wmode, use Key.getCode() instead of Key.isDown()
This post helped me solve the problem:
http://www.johanvanmol.org/content/view/47/41/