Examine the event's target and relatedObject properties to see where it thinks 
it is going

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Richard 
Rodseth
Sent: Thursday, October 30, 2008 12:12 PM
To: [email protected]
Subject: [flexcoders] rollOut event


I have a window-like MXML component with a title bar (currently done with 
VBoxes and HBoxes) and a content area (a Canvas). Rolling over an info icon in 
the tile bar causes another component to be overlaid (made visible) in the 
content area.

I used rollOver on the info button to make the overlay visible, and I added a 
rollOut on the root (window-like) component and on the overlay itself to hide 
the overlay. The puzzling thing is that the root-level rollOut fires when I 
move the cursor out of the info icon to the right (remaining within the title 
bar), but not when I move down towards the content area and overlay (even with 
a gap between the title bar and overlay top). This is actually not a terrible 
thing, user-experience-wise, but it's not what I expected. Any ideas what's 
going on?

Thanks.

Reply via email to