4 Replies Latest reply on Nov 21, 2011 11:17 AM by kglad

    Looping AS2 Question

    LuisRM Level 1

      I have a flash document that I want to loop twice after playing most of it, then play the rest of the file on the third playthrough and stop. Here is what I have so far.


      Frame 1

      var loop:Number = 0;


      Frame 41

      if(++loop > 2){







      Frame 51



      The file just plays once thorough and stops on Frame 51. Any suggestions or help is appreciated. Thanks!