Hey peoples,

Noticed that the Key.isDown()-thingy doesn't work anymore, so I thought we had to use events for this. However, that doesn't seem to work aswell for me?
code:
package {

import flash.display.Sprite;
import flash.ui.Keyboard;
import flash.util.trace;
import flash.events.KeyboardEvent;

public class example extends Sprite {
public function example(){
this.addEventListener(KeyboardEvent.KEY_DOWN, keyDownListener);
}

private function keyDownListener(e:KeyboardEvent):void {
trace("Key Down");
}
}
}



Anyone?