This was what I was playing with:
if(currentFrameLabel<lbl || currentFrame <lbl) {
gotoAndStop(currentFrame==totalFrames?1:currentFrame+1);
But I guess it is wrong.
Do you know if something like this will do what I want?
This was what I was playing with:
if(currentFrameLabel<lbl || currentFrame <lbl) {
gotoAndStop(currentFrame==totalFrames?1:currentFrame+1);
But I guess it is wrong.
Do you know if something like this will do what I want?