I'm not sure if I'm biting off more than I can chew with this
but here goes:-
here's my query how adventurous is it to enable the user to pause the
script/app for an indefinite/indeterminate interval and then resume
play from where it was paused i.e. NOT re-set or re-start? and to
do this on numerous occassions while the app is running?
background info essentially the code is a custom flashcard app so the pause
facility will permit the user to take a discretionary period to
review/study the item/image on display then move to the next item
for a (user specified default value) timed interval.
use of setTimeout() I was hoping I could make use of the setTimeout keyword but
I've learned that it is undocumented in Flash 8.
So, here's another question - when setTimeout is actually
implemented in some code:-
does there exist, or is it necessary to have, a reset
facility for the setTimeout(); I'm thinking along the lines of
possible 'memory leakage' issue(s).
any thoughts or suggestions gratefully received with thanks.
you can code for a pause, but there's no universal pause
function and there's no way to stop or slow code execution once
it's been started.
there's no problem with setTimeout causing a memory leak. if
you're app has a timer mechanism so it periodically advances, then
you would give the user the ability to stop the timer and restart
it if you wanted to give the user the ability to pause and continue