Re: lingo-l How to stop a loop.

2002-09-20 Thread Fabrice Closier
Yep, saw it yesterday thanks again fabrice Kerry Thompson heeft op donderdag 19 september 2002 om 15:49 het volgende geschreven: hi all, 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

Re: lingo-l How to stop a loop.

2002-09-20 Thread Fabrice Closier
However, as I and others have pointed out, it is inadvisable to call updateStage continually like this. I agree, but in this particular script, the bar is only once per file updated. to give you an idee, the files are conatining arround 3000 words, wich are checked during the loop and the bar,

lingo-l How to stop a loop.

2002-09-19 Thread Fabrice Closier
hi all, 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. global stop on somehandler repeat with x = 1 to Myvar if

Re: lingo-l How to stop a loop.

2002-09-19 Thread Robert Tweed
- 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

Re: lingo-l How to stop a loop.

2002-09-19 Thread Fabrice Closier
yes but i'am using a moviescript.. i just call an handler. the frame script is just on exitframe go to the frame end You cannot use a repeat loop like this, because it stops stage events from occuring. yes, thats the idea, i found running this particular script outside a frame event running

Re: lingo-l How to stop a loop.

2002-09-19 Thread Andreas Gaunitz P11
repeat with x = 1 to Myvar if the mouseDown then exit repeat else -- do your stuff end if end repeat -A. hi all, got a script than stays looping in a repeat. in some case, the loop takes several seconds to end.

Re: lingo-l How to stop a loop.

2002-09-19 Thread Andreas Gaunitz P11
You cannot use a repeat loop like this, because it stops stage events from occuring. yes, thats the idea, i found running this particular script outside a frame event running quicker. now, how do i stop it? if needed... i've tested some updatestage during loop in order to animate a progress

Re: lingo-l How to stop a loop.

2002-09-19 Thread Kerry Thompson
hi all, 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. global stop on somehandler repeat with x = 1 to Myvar if

Re: lingo-l How to stop a loop.

2002-09-19 Thread Fabrice Closier
Thanks! guess if keypressed asciinum can also work... then.. great!! just what i need! about the update stage, i agree with you, but since the loop is opening files and checks the content, i only update the stage when a new file is opened. the progress is size bar/howmuch file x filenumber. it

Re: lingo-l How to stop a loop.

2002-09-19 Thread Robert Tweed
- Original Message - From: Fabrice Closier [EMAIL PROTECTED] yes but i'am using a moviescript.. i just call an handler. the frame script is just on exitframe go to the frame end You could use timers, or create an object to put in the actorList, or add it to exitFrame in your frame

AW: lingo-l How to stop a loop.

2002-09-19 Thread Michael von Aichberger
related question: Does anybody know why sound continues to run smooothly during a tight repeat loop? After all, I presume sound is also using the CPU, isn't it? Michael [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages

Re: AW: lingo-l How to stop a loop.

2002-09-19 Thread Tab Julius
Runs in a separate thread, most likely. At 03:05 PM 9/19/02, Michael von Aichberger wrote: related question: Does anybody know why sound continues to run smooothly during a tight repeat loop? After all, I presume sound is also using the CPU, isn't it? Michael [To remove yourself from this

Re: AW: lingo-l How to stop a loop.

2002-09-19 Thread Colin Holgate
Runs in a separate thread, most likely. Or the sound managers are keeping up during interrupt routines. -- [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