4 Replies Latest reply on Jun 23, 2007 3:00 PM by Psycho_Mantis

    Best way to have an action after a for loop

    Level 7
      I am wondering what the best way to do something after a for loop is?
      Right now I am doing something like this, but I am wondering if there is
      a better way.

      for(var i:Number = 0; i < myNumber; i++){
      //For loop actions...

      if(i == myNumber - 1){
      //The action after...