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

Control Looping

New Here ,
Mar 04, 2020 Mar 04, 2020

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
622
Translate
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

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
Translate
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
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();
Translate
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