keyboard events on working here as well...
I just ran into a similar issue yesterday, and would love to know if anyone has figured out what is going on?
Is this a bug that may not be in CS4 players?
i'm trying to put "stage.focus=stage" in various places to see if it will keep things going. I'm not sure i want it to be done every frame, but...
the description "seems to randomly stops receiving key events...have to click on the [interface] again so it receives events again, so it seems to have lost focus, but there is no reason for that." fits very very well...
It seems to only happen after I click on an item in the interface i'm building that then ends up getting swapped out with a different MovieClip, but at this point none of my MovieClips have any Key listeners in them, there is only one in the Main Class attached to the Stage....
I think I found the reason to lose focus
Well, I had the same problem, so found this thread and the posts gave me the idea, it seems that when you click on any button, movieclip with mouse listener or input text fields, you lose focus in the stage which is the one listening for keyboard events, so, my solution was adding in every button function the line you gave before:
stage.focus=stage;
in my opinion it's not a player or code bug, it's the AS3 logic in which every element, even the stage is an object, so if you use another one, even being inside it, it loses focus, well, hope it helps, worked for me.