Re: [flexcoders] TitleWindow missing all focus events??

2007-02-02 Thread Roman Protsiuk
Overloading focusOutHandler/focusInHandler helps. You'll be able to handle FocusEvents there. Like in protected override function focusOutHandler(event : FocusEvent) : void { if (event.relatedObject == null || !contains(event.relatedObject)) { // event came from "outside" not from one

[flexcoders] TitleWindow missing all focus events??

2007-02-01 Thread zhongtie
I pop up TitleWindows using PopupManager, and I change the titlebar colors based on if the titleWindow is active (topmost) or not. The problem is, I am NOT able to capture the focus event for TitleWindow (other controls, like TextArea, has no problems), nor does onFocusIn/onFocusOut overwrite wor