flash CS3 question..
flash CS3 question..
- Started
- Last post
- 3 Responses
- lvl_130
frame 1:
var loopNumber = 0;frame where you want it to check to either continue or stop:
loopNumber++;
if (loopNumber < 3) {
gotoAndPlay(136);
} else {
stop();}
- change frame 136 to whatever your frame is obviously.lvl_13
- got it..
dankekrisscott21 - no problemlvl_13
- ifeltdave0
or, if its simple animation.... set its behavior on the timeline in the properties to "graphic", choose "loop" from the drop down next to the instance box and enter "3" in the field for number of loops. No coding necessary :)
- noRGB0
if (!loopCount) {
var loopCount:Number = 0;
}loopCount++;
if (loopCount >= 3) {
this.stop();
}