Does anyone have an example of getting the stage or any display object
to listen to all Key_Down events, even with items on the displayList.

Here is my code, which works for the mouse_down event, but keydown is
going unnoticed. Any clues as to why that this is?

Application.application.stage.addEventListener(KeyboardEvent.KEY_DOWN,
onKeyDownEvent);
                
Application.application.stage.addEventListener(MouseEvent.MOUSE_DOWN,
onMouseDownEvent);

also the mouse_down works in this version as well, but not the key_down.

firstdisplayobject.visual.addEventListener(KeyboardEvent.KEY_DOWN,
onKeyDownEvent);
                        
firstdisplayobject.visual.addEventListener(MouseEvent.MOUSE_DOWN,
onMouseDownEvent);

TIA

thanks, CompletelyFrustrated

Reply via email to