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

Control Looping

New Here ,
Mar 04, 2020 Mar 04, 2020

Copy link to clipboard

Copied

Hi everyone,

 

For some reason, I'm having the hardest time finding a way to control how many times my animation loops in Adobe Animate. I'm creating HTML5 banner ads and I am limited to 15 seconds / 3 loops Max.

 

Any suggestions would be greatly appreciated!

 

Thanks so much,

Lindsay

 

TOPICS
ActionScript , How to , Timeline

Views

513

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 ,
Mar 04, 2020 Mar 04, 2020

Copy link to clipboard

Copied

Can you simply have your loop animation be a total of 5 seconds long inside a Graphic or Movie Clip symbol and then control it from there or does it have to be all code generated loops?


Animator and content creator for Animate CC

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 ,
Mar 04, 2020 Mar 04, 2020

Copy link to clipboard

Copied

LATEST

Stick this code at the end of your timeline and set the count as desired.

if ((this.looped = ++this.looped || 0) == 2) this.stop();

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