I don't know if we can solve that one, especially in all browsers. Usually when the browser becomes active the player instance still doesn't have focus. And once you give it focus, it may have forgotten its repeat state. Keyboard related stuff is a topic of discussion at Adobe these days. -Alex
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of jack_freud Sent: Thursday, May 10, 2007 8:26 AM To: [email protected] Subject: [flexcoders] Re: keypress stops working after browser loses focus For what it's worth, I meant keydown. Still stuck! --- In [email protected] <mailto:flexcoders%40yahoogroups.com> , "jack_freud" <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm using keypress events to rotate a sprite on a canvas. It works > fine until you click on some other window on your desktop, then come > back to the browser. Then you can click on things with no problem but > the keypress event stops firing. > > I'm listening for the event in the container, as I couldn't find a way > to give my sprite component focus itself. > > Any help would be much appreciated! > > Jack >

