----- Original Message ----- From: "Fabrice Closier" <[EMAIL PROTECTED]>
> got a script than stays looping in a repeat. > in some case, the loop takes several seconds to end. But i want to be > able to let him stop during the repeat. > > tried something like this via a button, but its ignored. > ... You cannot use a repeat loop like this, because it stops stage events from occuring. In fact, it completely halts your movie. You need to use exitFrame to create the loop like this: property running on exitFrame me if( running ) then -- do stuff end if end -- Example usage on mouseUp me running = not running end This will "do something" once per frame, without affecting anything else in the movie. - Robert [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!]