Keelan Lightfoot wrote/ schreef:
> I've found a frustrating bug in revolution:
> Create a button, and slap this script into it:
>
> on mouseup
> repeat until the mouse it down
> set the loc of me to the mouseloc
> end repeat
> end mouseup
>
> play with it for a while, it'll stop working properly, and the button will
> 'stick' to the cursor even then the mouse is up.
Should be:
on mouseDown
repeat until the mouse is up
set the loc of me to the mouseloc
end repeat
end mouseDown
In your example, the script starts to run when the user pressed the button,
and has released it again. Then it will stick until the mouse is down again,
and up, and everything will start again.
Another thing is that you type 'repeat until the mouse it down', but I guess
that's a typo.
> What's going on?
>
> - keelan
Regards, / Groeten,
Sjoerd
_______________________________________________
improve-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/improve-revolution