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

Creating mp4 from a Looping animate file won't loop

New Here ,
Nov 22, 2019 Nov 22, 2019

Copy link to clipboard

Copied

Hello!

I have an animate file that I've attached the following script to:

/* if (!this.looped) this.looped = 1;
if (this.looped++ == 10) this.stop();*/

 

It loops 10 times as a .swf, but I'm trying to get it to do the same as an MP4. Is that possible?

I've exported it into Media Encoder and it creates the mp4, but it only plays once. I've pulled the .swf into After Effects and exported it through Media Encoder and again, it just plays once.

 

TOPICS
ActionScript , How to , Import and export

Views

2.4K

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

correct answers 1 Correct answer

LEGEND , Nov 22, 2019 Nov 22, 2019

It looks like Animate 2020 dropped a feature. If you can install 2019 you can set the export to video to end after a certain time. That way if you have an animtion that is 5 seconds long that you want to loop 10 times, you just set the After time elapsed value to 50 seconds.

 

Screen Shot 2019-11-22 at 3.23.27 PM.png

Votes

Translate

Translate
Community Expert ,
Nov 22, 2019 Nov 22, 2019

Copy link to clipboard

Copied

That isn't how MP4 works - so not possible. 

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
New Here ,
Nov 22, 2019 Nov 22, 2019

Copy link to clipboard

Copied

OK. That makes sense. I just kinda hoped there was a work around. Thanks!

 

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
Participant ,
Nov 22, 2019 Nov 22, 2019

Copy link to clipboard

Copied

Easiest option is just to loop your SWF in After Effects, then render that out.

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 ,
Nov 22, 2019 Nov 22, 2019

Copy link to clipboard

Copied

It looks like Animate 2020 dropped a feature. If you can install 2019 you can set the export to video to end after a certain time. That way if you have an animtion that is 5 seconds long that you want to loop 10 times, you just set the After time elapsed value to 50 seconds.

 

Screen Shot 2019-11-22 at 3.23.27 PM.png

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
New Here ,
Nov 24, 2019 Nov 24, 2019

Copy link to clipboard

Copied

LATEST

What a shame. That is exactly what I was looking for, and of course! I upgraded to 2020 last week. Thank you for your help. I created a work around by pulling the animation into PP, repeating the clip 10 times and going from there. It's clumsy, but it works.

 

Thanks again for everybody's help with this. I really appreciate it.

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