Thanks for the suggestions Looking through some of the mx:controls, I found MOUSE_DOWN_OUTSIDE - seems to be the way to go.
On Thu, Feb 4, 2010 at 4:02 PM, Glenn Jones <tgjone...@gmail.com> wrote: > I have a popup that's opened in the usual way with the popup manager. It's > not modal. > Sometimes the controls within the popup are enabled so that the user can > interact with them, > and sometimes the controls are disabled because the contents are read-only. > > As soon as the user clicks anywhere else in the application, I'd like to > close the popup. > > Is there an easy way to do that? > > Based on what I've read, the popup should have it's own instance of > FocusManager, and that > FocusManager should receive a deactive() call if the user clicks somewhere > else. So I thought > about extending the FocusManager with some new class designed to close the > parent form > on deactivate. But was hoping there was a better way. > > Thanks, > Glenn >