Posted By

GringoS04 on 12/17/10



Versions (?)

gotoAndStop next Frame

 / Published in: ActionScript 3

  1. gotoAndStop(currentFrame+1);

Report this snippet  


RSS Icon Subscribe to comments
Posted By: kek on December 17, 2010

or nextFrame();

Posted By: weavermedia on December 20, 2010

This line handles looping back the first frame too:

gotoAndStop(currentFrame==totalFrames ? 1 : currentFrame+1);

You need to login to post a comment.