Loop and stop after third loop on specific frame

Set a timeline action at the end of the banner with something like this

if (window.loopCount <= 2) {
hypeDocument.startTimelineNamed('Main Timeline', hypeDocument.kDirectionForward)
}

and then as Daniel suggested something like this at frame 14

if (window.loopCount == 2) {
hypeDocument.pauseTimelineNamed('Main Timeline');
}

Example project:
Loop & Pause.zip (11.6 KB)

Credits to this thread

3 Likes