Ah, nice, I've never seen/used the "owns" method... exactly what I was looking for! Thanks!
Troy. On 8/29/07, Alex Harui <[EMAIL PROTECTED]> wrote: > > The test we added is if the popup owns the target. > > > > if > (IUIComponent(myPopUp).owns(DisplayObject(evt.target))) > > > > > > -Alex > > > ------------------------------ > > *From:* [email protected] [mailto:[EMAIL PROTECTED] *On > Behalf Of *Troy Gilbert > *Sent:* Wednesday, August 29, 2007 10:02 AM > *To:* [email protected] > *Subject:* [flexcoders] Combobox + PopupManager + mouseDownOutside "bug" > > > > Here's the details of the bug: https://bugs.adobe.com/jira/browse/SDK-9656 > > I was running into this issue, googled "combobox mousedownoutside" and > it was the first hit, so "yeah, Google!". Exactly what I was looking > for. > > But... its fixed, but I couldn't figure out how to get details on what > the fix is. I assume its to the code of the PopUpManager, so I don't > really want to apply the fix to my local version or anything like > that. > > Alex, you did the fix (according to the link above), any suggestions > on the "proper" way to deal with this issue in FB 2.0.1? I'm currently > dealing with it by looking at the event and seeing if the > "relatedObject" property is a UITextField, and if it is, ignoring the > event as it must be a combobox (I fortunately don't have any other UI > elements currently that register as a UITextField when clicking on > them). So, I've got a fix, but I'd love for something less > special-cased... > > Thanks, > > Troy. > > >

