Copy link to clipboard
Copied
if (!this.looped) this.looped = 1;
if (this.looped++ == 3) this.stop();
I'm not sure if it never worked inside a movieClip or if something changed recently but it works on the main timeline. How do i get the movieclip to loop 3 times?
I just tested that code inside a movieclip and it worked perfectly.
It will NOT working inside a graphic. Because graphics aren't movieclips. Movieclips are movieclips.
Copy link to clipboard
Copied
I just tested that code inside a movieclip and it worked perfectly.
It will NOT working inside a graphic. Because graphics aren't movieclips. Movieclips are movieclips.
Copy link to clipboard
Copied
mystery solved, I had the publish setting "loop timeline" unchecked. I thought this would automatically loop the main timeline so I unchecked it.