on mouseEnter and mouseLeave

Sy Balsen sbalsen at taconic.net
Thu Oct 30 22:11:33 EST 2003

I thought this was going to be easy! When the mouse goes over a certain
image image, I want it to show another image:

on mouseEnter
show image 1
end mouseEnter

when the mouse moves away from the image, I want it to show the original

om mouseLeave
hide image 1
end mouseLeave

The problem is, when the mouse leaves, nothing happens (image 1 does not
hide) until the mouse moves away, re-enters the image and moves away again.
What am I doing wrong?

Thanks for any help!

Sy Balsen
Malden Bridge, NY

More information about the Use-livecode mailing list