Stage is not available until after applicationComplete. There is code in FocusManager that gets all keydowns
From: [email protected] [mailto:[email protected]] On Behalf Of Jason Ervin Sent: Tuesday, February 03, 2009 8:55 AM To: [email protected] Subject: [flexcoders] Stage listeners not hearing key_down events. 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

