View AS3 KeyboardHandler
/*
* KeyboardHandler
*
* example of fast keyboard events delegation with callbacks & the "supported key"
* concept. a basic keyboard state machine.
*
* usage e.g.:
*
* var kh:KeyboardHandler = new KeyboardHandler(nativeStage);
* kh.addKey(Keyboard.LEFT, leftKeyHandler);