Return to Snippet

Revision: 37929
at December 20, 2010 23:27 by weavermedia


Initial Code
// steps to next frame on the timeline and loops back round to frame 1 when it hits the end

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

Initial URL

                                

Initial Description

                                

Initial Title
AS3 gotoAndStop next frame with looping

Initial Tags

                                

Initial Language
ActionScript 3