Highlighted

Full animation loop

Community Beginner ,
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

191

Likes

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

Full animation loop

Community Beginner ,
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

192

Likes

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
May 06, 2020 0
Adobe Community Professional ,
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.

Likes

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
Reply
Loading...
May 06, 2020 1
Community Beginner ,
May 07, 2020

Copy link to clipboard

Copied

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

Likes

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
Reply
Loading...
May 07, 2020 0
ClayUUID LATEST
Adobe Community Professional ,
May 08, 2020

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?

Likes

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
Reply
Loading...
May 08, 2020 0