Does Actionscript have goto statements?
I have a complicated chunk of code with 4 nested loops, and there is a situation where I want to jump out of the 2 inner loops, but not out of all 4 loops. (ie, jump from the 4th nested loop to the 2nd nested loop). I know if I only wanted to jump out of 1 loop, I could use a break statement.
I couldnt find anything about gotos in actionscript on google, so Im assuming the answer is no. Is there anything equivalent that would accomplish the same thing?
I’m not talking about the gotoAndPlay() stuff for the timeline. Im talking about actually jumping around in lines of code.