While holding control key, the KeyboardEvent.KEY_DOWN event does not fire. Anyone know what the issue could be?
stage.addEventListener(KeyboardEvent.KEY_DOWN, keyPressed);
stage.addEventListener(KeyboardEvent.KEY_UP, keyReleased);
function keyPressed(evt:KeyboardEvent):void {
trace("down:"+evt.keyCode);
}
function keyReleased(evt:KeyboardEvent):void {
trace("up:"+evt.keyCode);
}
With the code above, if I press and hold control, and then repeatedly keep pushing the v key, all I get traced out is this a single time.
down:17
up:86