Highlighted

Creating mp4 from a Looping animate file won't loop

New Here ,
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.

 

Adobe Community Professional
Correct answer by Colin Holgate | Adobe Community Professional

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

TOPICS
ActionScript, How to, Import and export

Views

1.2K

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

Creating mp4 from a Looping animate file won't loop

New Here ,
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.

 

Adobe Community Professional
Correct answer by Colin Holgate | Adobe Community Professional

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

TOPICS
ActionScript, How to, Import and export

Views

1.2K

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
Nov 22, 2019 0
Adobe Community Professional ,
Nov 22, 2019

Copy link to clipboard

Copied

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

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

Copy link to clipboard

Copied

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

 

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

Copy link to clipboard

Copied

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

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...
Nov 22, 2019 0
Adobe Community Professional ,
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

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

Copy link to clipboard

Copied

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.

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...
Nov 24, 2019 0