[flexcoders] Re: FocusOut event fires over and over...

2010-03-25 Thread valdhor
It may be a bug (Or a feature) in the SDK. I seem to recall Alex responding about when a pop-up closes, focus returns to the control that opened the pop-up. You may like to search the archives. One other thing to try would be adding an event listener for when the pop-up closes that prevents a

Re: [flexcoders] Re: FocusOut event fires over and over...

2010-03-25 Thread Alex Harui
Valdhor has a good memory, but that doesn’t sound like the issue here. Other things to check: Does the Popup implement IFocusManagerContainer (it does if it is a Panel/TitleWindow) and do you have code in the popup that sets focus to a control in the PopUp on initialize or creationComplete

[flexcoders] Re: FocusOut event fires over and over...

2010-03-24 Thread valdhor
Add the focusOut event listener when you get a focusIn on the text input. Then, when your focusOut event fires and you open the pop-up window, remove the focusOut event listener from the text input. --- In flexcoders@yahoogroups.com, Laurence lmacne...@... wrote: I want a pop-up window to

[flexcoders] Re: FocusOut event fires over and over...

2010-03-24 Thread Laurence
That doesn't seem to work either. Focus keeps returning to the original TextInput for some reason... I've even tried manually setting the focus to the next TextInput immediately after removing the FocusOut event listener on the first TextInput, before calling the pop-up window -- still