Copy link to clipboard
Copied
Good afternoon, please help. I do cyclic animation with Adobe animate cc + GSAP. The first time you run the animation, it fully plays when you repeat the GSAP loop, the animation does not play. This applies to all animations made with js. Can you tell me how to loop the animation fully with GSAP?
I attach the project file.
https://www.dropbox.com/s/c1zhbq7k7gnjdb1/animation_test.fla?dl=0
Copy link to clipboard
Copied
reload the html when the last frame plays. eg,
window.location.href="www.yourdomain.com/yourhtml.html";
p.s. there may be more efficient ways to replay your project, but this will always work no matter what kind of screwy things you may have done.
Copy link to clipboard
Copied
Thank you, can I have more details? The code you wrote does not work?
Copy link to clipboard
Copied
This is an Adobe Animate support forum, not a GSAP support forum. Your problem is with GSAP, not Animate.
That being said, why are you bloating your project with the GSAP library when Animate already has a perfectly good tween library built in?