• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Full animation loop

Community Beginner ,
May 06, 2020 May 06, 2020

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

Views

311

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 06, 2020 May 06, 2020

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 07, 2020 May 07, 2020

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 08, 2020 May 08, 2020

Copy link to clipboard

Copied

LATEST

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines