5 Replies Latest reply on May 24, 2007 6:50 AM by kglad

    How to loop an swf a set number of times?

    Ehrhart Level 1
      I need to loop a banner animation a set number of times, then get it to gotoandstop on a final frame. I know in the past I could use:

      counter++; if (counter<5) { gotoAndPlay (1); }

      At least for the looping part (don't even know yet about the stop pon a particular frame part).

      but now in Flash 8 I can't get my test swf to do that using this statement. Am I missing something? (Of course, obviously I am or I wouldn't be here!)