9 Replies Latest reply on Oct 10, 2007 4:52 PM by kglad

    conditional loop ?

    PAI_T-Bone Level 1
      I want an error message to display for, lets say 15 frames, then to disappear. I have been working on the code, but I can't figure out how to get the if statement to stay looping until it reaches 15.

      Here is the code im using, any help would be great. thanks !

      selectModuleCounter = 0;

      if (selectModuleCounter>15) {
      gotoAndStop(1);
      } else {
      selectModuleCounter++;-
      }
      trace(selectModuleCounter);