Unwanted mouseLeave events

6 views
Skip to first unread message

jfberge

unread,
Dec 12, 2008, 5:43:33 PM12/12/08
to EEGUI
If you set an object's visible to false while the mouse is over it,
move the mouse elsewhere, and then make the object visible again, it
fires off a mouseLeave event. I guess this makes sense, but I'd prefer
having changes to an object's Visible also clear whatever other mouse
events it previously had, as I want to treat it like a "new" object,
without an event history. Any easy way to achieve this? For now, I
store the ID of the last object I moused over and compare it to the ID
of whatever object thinks it just had a mouseLeave.
Reply all
Reply to author
Forward
0 new messages