Hi,
I want to pause an animation for a few seconds.
I dont want to increase the frames to make the animation to pause.
can any body tell me how i can do it using actionscript.
thanks
GugZ
India
Printable View
Hi,
I want to pause an animation for a few seconds.
I dont want to increase the frames to make the animation to pause.
can any body tell me how i can do it using actionscript.
thanks
GugZ
India
Haven't tried this, but give it a shot...
Make a function that stores the current frame in a variable, stops the movie, then when told, restarts at that stored frame. Kinda get it? Something like this...
lemme know how that works :)Code:function pause (value) {
if (value==pause) {
pause_frame = _currentframe;
stop;
} else if (value==play) {
gotoAndPlay (pause_frame);
}
}
[Edited by spielboy on 05-23-2002 at 05:53 PM]