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
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,
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
- 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
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
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.
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
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
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
- 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
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
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
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
13 matches
Mail list logo