how can I stop a mouseenter-command

DunbarX at aol.com DunbarX at aol.com
Fri Nov 13 18:46:25 EST 2009


Alex.

If you leave the button too soon nothing happens. Of course, if you zoom in 
and out, like you say, well, I was able to invoke four "doStuffs" in a row.

Shows how important testing even simple ideas really is.

Craig.

In a message dated 11/13/09 6:31:17 PM, alex at tweedly.net writes:


> > on mouseEnter
> >    wait 1 second
> >    if the mouseLoc is within the rect of me then doYourStuff
> > end mouseEnter
> >  
> But beware that this will wrongly fire if you pass the mouse through a
> button, i.e. enter the button, leave it and re-enter it before one
> second later.
> 




More information about the use-livecode mailing list