The mouse probably isn't going from some other mouse target to "over"
your image because it is always "over" the thing being dragged.  If the
thing being dragged isn't a mouse target then you might get events, but
it might be easier just to handle dragEnter/Exit

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Michael
Sent: Wednesday, November 07, 2007 11:44 AM
To: [email protected]
Subject: [flexcoders] mouseOver event not recognized while dragging an
object

 

This is probably going to be an obvious answer, but it's just not coming
to me...

I have an image with a mouseOver and mouseOut event. Obviously it works
just fine when I 
normally move the mouse over the image and out from the image. But if I
start dragging 
something from a TileList and mouseOver the image or mouseOut from the
image, the event 
isn't triggered. It's like it's ignored when I'm dragging something...

Now... Maybe it can be "tricked" using dragEnter and dragExit, but I
think that can only be 
accomplished if the image accepts a drag and I don't have a need for it
to do so. 

So... Can anyone think of a way that my image's mouseOver and mouseOut
events can be 
recognized whether I'm using my mouse as normal or if I'm dragging
something?

Thanks!

: : Michael

 

Reply via email to