I have a bit of code I’ve been using successfully with AS2 but don’t know AS3 to make it work. I’ve GOT to get it in AS3.
All I need it to do is play to a certain point no more than 3 times…hopefully that will be obvious by the code. (see below)
if (!loopCount) {
var loopCount:Number = 0;
}
loopCount++;
if (loopCount < 4) {
this.gotoAndPlay(265);
}
loopCount++;
if (loopCount < 2) {
this.gotoAndPlay(264);
}
…so it plays to frame “264” twice and on the third round it goes to “265” where I have it stop()'ing.
Thanks!