Skip to main content
nicrasso
Participant
May 6, 2020
Question

Full animation loop

  • May 6, 2020
  • 2 replies
  • 430 views

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

    This topic has been closed for replies.

    2 replies

    Legend
    May 8, 2020

    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?

    kglad
    Community Expert
    Community Expert
    May 6, 2020

    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.

    nicrasso
    nicrassoAuthor
    Participant
    May 7, 2020

    Thank you, can I have more details? The code you wrote does not work?