key_up event not working
Never actually ran into this problem before, the following code is throwing no errors but the KEY_UP event won`t work. (KEY_DOWN works as expected)
What am I missing here? Have tried focus-trick and forcing capture phase.
stage.focus = stage;
stage.addEventListener(KeyboardEvent.KEY_UP, upHandler, true);
private function upHandler(e:KeyboardEvent):void
{
trace(e.keyCode);
}
win7-Flash CC 13.1.0.226
