all groups > flash actionscript > april 2004 >
You're in the

flash actionscript

group:

Moving to next frame


Moving to next frame flashForum
4/19/2004 11:06:05 PM
flash actionscript:
Hello all,

I've read this somewhere, but I can't find it. I have a small movie clip with
an invisible button that rests on the main timeline. Within the movie, I have
10 frames that have different text in them. I want the movie to go to and stop
at the next frame on release, and simply loop back to the first frame at the
end. How is this done? Thanks.
Re: Moving to next frame kglad
4/20/2004 12:43:14 AM
on(release){
if(_currentframe<_totalframes){
nextFrame();
} else {
gotoAndStop(1);
}
Re: Moving to next frame flashForum
4/20/2004 1:57:16 AM
Re: Moving to next frame kglad
4/20/2004 2:09:13 PM
AddThis Social Bookmark Button