I hardly ever use KEY_UP so if there's some quirk there, I wouldn't know
about it.

 

In theory, if the object that had focus was in a popup and the popup was
removed, the framework should return focus to the last focused entity in
the main app or some other popup depending on the z-order.  If you've
removed the focused object from the popup prior to removing the entire
popup, I'm not sure who would get focus, but basically the framework is
trying to assign focus to something in most cases.

 

If you have a small test case, I can try to take a look at it.

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Troy Gilbert
Sent: Wednesday, March 05, 2008 8:01 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Global keyboard capture?

 

> This is why Rick's suggestion of both a capture and non-capture phase
> listener on stage is correct.

Which is what I was doing originally, as per the source code in my first
post.

If a display object has the focus, then is removed from the stage,
does it automatically lose the focus (I would think so) even if it
still has event listeners registered?

Troy.

 

Reply via email to