Skip to main content
YeahScience13914449
Known Participant
July 21, 2018
Answered

Export animation as SVG sequence

  • July 21, 2018
  • 1 reply
  • 8968 views

Is there any way how to achieve that? Is it possible this feature would be added sometime in the future?

it would really be useful as exporting every frame manually would take ages.

Thanks.

This topic has been closed for replies.
Correct answer chenjil43641795

Complete

WindowSWF.rar - Google Drive

Copy files after decompression

Put it on the bottom of the table of contents.

C:\Users\you name\AppData\Local\Adobe\Animate CC 2018\zh_CN\Configuration\WindowSWF

And then open ANCC.

After replication, you can find "Feature Extensions" in "Windows"-"extension"

Select it, then click on the button to perform the action.

The displayed window can be dragged or docked to any location

P                Jump to top 1 keyframes

n                Jump to the next 1 keyframes

F7              Insert key frame

border       Draw a stage border for all frames

Reduce     Interval 1 frame deletion, reduced animation timeline(Because the timeline can be elongated but not reduced, so do this)

Vector       Converts a bitmap on each frame to a vector graph(Useful when importing animation sequence pictures)

SVG          Bulk Export SVG.(Go to "Publish Settings" and select "Publish SVG",And then use this command.)

Because my English is not good, so the English on the button doesn't know the right

You can open the FLA(Feature Extensions.FLA)Modify text on a button

has been uploaded to the Google network, please download

WindowSWF.rar - Google Drive

1 reply

chenjil43641795
Legend
July 21, 2018

I think we need this, too.

In addition, although the API does not write.

But according to the previous naming rules, I tried

Using this code, you can export SVG

fl.getDocumentDOM().exportSVG("file:///C|/Users/lanse/Desktop/1111/myFile.svg", true, true);

People who write JSFL can easily generate bulk export SVG

It is a pity that I am an animator, JSFL don't know much..

My idea is to get all the layer keyframes and then export svg,

Below is the JSFL that gets the keyframe

I hope someone can write the JSFL of the batch export SVG

var theDocument = flash.getDocumentDOM();
var theTimeline = theDocument.getTimeline();

var c = theTimeline.currentFrame;
var n = theTimeline.frameCount;
var f = 0;

// loop through the layers looking for the next keyframe
for (var l=1; l<theTimeline.layerCount; l++) {
f = theTimeline.layers.frames.startFrame + theTimeline.layers.frames.duration;
if (f>c && f<n) {
  n=f;
  m=l;
}
}

theTimeline.currentFrame = n;
theTimeline.currentLayer = m;
theTimeline.setSelectedFrames(n,n+1,true);

YeahScience13914449
Known Participant
July 22, 2018

Thanks for the info. I'm using Animate only for graphics & animation so i don't really know how to use the AS. It would be awesome if Adobe would consider adding this as an official feature.

chenjil43641795
Legend
July 22, 2018

I found a way, I need to write a JSFL. I'll give you a JSFL file later.