The mouse events are very low-level and may fire when you do not expect it.
rollOver and rollout are more predictable.

 

Tracy Spratt,

Lariat Services, development services available

  _____  

From: [email protected] [mailto:[email protected]] On
Behalf Of rondo_smith
Sent: Monday, May 04, 2009 11:33 AM
To: [email protected]
Subject: [flexcoders] Unexpected MOUSE_OUT generated for an HBox

 






Hello,

I experience strange behavior when listening to MOUSE_OUT for an HBox.
Normally when MOUSE_OUT is created the mouse coordinates passed are outside
the HBox which is my expectation as well but sometimes MOUSE_OUT gets
created with coordinates inside the HBox (I check with "hitTestPoint").
Usually when this happens the mouse is just about to leave the HBox so it's
still somehow ok. What's stranger though is that sometimes I get MOUSE_OUT
when simply moving the mouse within the HBox and this is really a problem.

Have you guys experienced something similar? Any guesses what could cause
such behavior?
BTW I am not sure if this problem is related to the fact this is an HBox. I
haven't tested with other containers.

Thanks,
Rondo



Reply via email to