The event should have a relatedObject property that is “rollInto”

From: [email protected] [mailto:[email protected]] On Behalf 
Of Haykel BEN JEMIA
Sent: Friday, January 23, 2009 12:07 AM
To: [email protected]
Subject: Re: [flexcoders] removePopUp on rollout, but not if rollOver popup 
itself?

I had the same problem with a component I developed and the only solution I 
found was to track rollOver and rollOut on both components (in your case for 
the day and the popUp). For every component I set a flag to true on rollOver. 
On rollOut I set it to false then only if both flags are false I remove the 
popUp and clean the event listeners.

Haykel Ben Jemia

Allmas
Web & RIA Development
http://www.allmas-tn.com



On Fri, Jan 23, 2009 at 3:12 AM, Tracy Spratt 
<[email protected]<mailto:[email protected]>> wrote:

I have a calendar component.  When I rollOver a day that has a calendar event, 
I pop-up a panel with the event's detail.

I want to hide the detail popup when the user rolls out of the day.

But if I roll over the currently displayed popup, flex registers a rollout of 
the day, hides the pop-up, but then the cursor is still over the day so the 
popup tries to display, which registers a rollout, so my UI just blinks.

I looked for a "rollInto" property I could check, but didn't find anyting 
useful.

Any suggestions?

Maybe I need to track rollOver on the popUp, and set a flag and check that in 
the day rollOver handler?

Tracy Spratt

Lariat Services

Flex development bandwidth available


Reply via email to