The solutions presented will lock off a double click on a button, but that's only part of the issue - the button under the second mouse click might not be the same one as under the first mouse click, so it could easily be getting only a single click.

I'd throw a little delay into the second button's activation - create a timeout() on beginsprite, set its handler to one that sets an "active" property, and give it a period of 500 (1/2) or so. Then just make your mouse events conditional to whether that property is true or false.

hth,
kurt

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]

Reply via email to