if(child is MovieClip) { if(child.currentFrame==child.totalFrames) child.gotoAndStop(1); else child.nextFrame() }