AS3 Flash change combobox value cause keydown events are disabled
问题 I'm using Flash Pro CS6. I created a fla project and put in a ComboBox. Then i place following code in action: import flash.events.KeyboardEvent; this.stage.addEventListener(KeyboardEvent.KEY_DOWN, onKeyDown); this.stage.addEventListener(KeyboardEvent.KEY_UP, onKeyUp); function onKeyDown(e:KeyboardEvent) { trace("Keydown :" + e.charCode); } function onKeyUp(e:KeyboardEvent) { trace("Keyup :" + e.charCode); } both event work fine at the beginning but when i change the ComboBox value, the event