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

Looping sequence not exporting to video in Animate CC

Explorer ,
Oct 11, 2018 Oct 11, 2018

Hi all,

I'm trying to export videos for review that incorporate the looping sequence set in the timeline, but it's only exporting the second loop.

The sequence is set to loop once, then restart, and finish at the second loop. The code for it is

if (!this.looped) this.looped = 1;

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

When using the Export Video option, the output file is not exporting the first loop, just the second. Is there a way to incorporate the whole sequence of the video?

1.3K
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

correct answers 1 Correct answer

LEGEND , Nov 03, 2018 Nov 03, 2018

Sorry that nobody replied already.

The code driven export video feature is specific to AS3, and won't work in HTML5 Canvas. Your code should work as AS3, so you could use File/Convert to... to make your animation be an ActionScript 3.0 FLA, and then uncomment your code (it gets commented out as part of the convert process), and do the export video from that FLA.

Translate
LEGEND ,
Nov 03, 2018 Nov 03, 2018

Sorry that nobody replied already.

The code driven export video feature is specific to AS3, and won't work in HTML5 Canvas. Your code should work as AS3, so you could use File/Convert to... to make your animation be an ActionScript 3.0 FLA, and then uncomment your code (it gets commented out as part of the convert process), and do the export video from that FLA.

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
Explorer ,
Nov 15, 2018 Nov 15, 2018

Eek.

That's a bit too much work - we are currently just screen recording the output using SnagIt, which is much faster than these steps. Thank you for replying though!

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 ,
Nov 15, 2018 Nov 15, 2018

That's horrifying.

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
Explorer ,
Nov 15, 2018 Nov 15, 2018

This output is for review by stakeholders. Since we use an online approval tool that allows comments directly within a video's timeline, we found that more efficient than sending zips to people and asking for feedback verbally/over email.

So if output of a video currently means posting half of the video that isn't an accurate representation of the final output, screen capping is the best solution. Unless you have a better one - I'm happy to hear it if so.

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 ,
Nov 15, 2018 Nov 15, 2018

If the screen recording frame rate is good enough, that's an easy solution.

For the future though, if you need to make an animation that you want to export as a video, using an AS3 FLA will let you do code driven animation, and you'll get perfect frame rate.

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
Explorer ,
Nov 16, 2018 Nov 16, 2018

The actual outputs are HTML5 though - we don't need video files as the final product. We just need a video because that's the easy way to see the banner output in a format that our collaboration tool's Approvals module can work with.

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
Explorer ,
Feb 12, 2019 Feb 12, 2019
LATEST

So I actually had a project I could test this suggestion out on. Converted to AS3, uncommented the code, exported video, and it still looped the nested object over and over throughout the overall sequence, even though it had a "stop" action set.

Realized that I need to replace the HTML5 script codes with the corresponding ActionScript codes, then it worked.

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