3 Replies Latest reply on Oct 19, 2011 2:26 PM by kglad

    Stop looping file at specific frame

    ruthgordy Level 1

      Ive created a banner ad in AS 1.0-2.0. The ad can only loop 4 times then it must stop. The following code does this at frame 170. The timeline is 170 frames in length, and this code is keyframed on an actions layer on frame 170 - however, I'd like the final stopped flash swf file to occur at frame 155. I can't just put this code on frame 155 - it skips a whole section of  animation (from frames 155 to 170) that I want to keep in the loops.

      Any help is greatly appreciated.



      loop = loop + 1

      if (loop < 4) {


      } else {