3 Replies Latest reply on Jun 28, 2009 5:42 PM by Ned Murphy

    Repeat/Loop small amount of code.

    prodigalmaster Level 2

      Hi how do I get this code to repeat itself continually, because it just executes once. Im not that good with listeners, i know functions and variable etc though im not that bad. please help.

       

      Code:

      if (health<=0) {
      gotoAndStop("mainDead");
      }

       

      Its on a frame, not a MC.

      AC 2

      Thanks.