I have a bunch of .fla CS6 files that I need to export to avi (after setting up the resolution, compression settings etc) manually. I am wondering if this can be achieved via a JSFL script or similar.
Appreciate the help.
I have a bunch of .fla CS6 files that I need to export to avi (after setting up the resolution, compression settings etc) manually. I am wondering if this can be achieved via a JSFL script or similar.
Appreciate the help.
Copyright © 2021 Jogjafile Inc.
Have a look the JSFL Reference:
document.exportVideo()is what you're after:from the docs:
I can't remember if that is in AVI format, however you should be able to convert the video. Setting the second parameter (
convertInAdobeMediaEncoder) totrueshould send the video to Media Encoder for conversion, however it will be a lot less straight forward to automate that (very convoluted, but not impossible)Alternatively I would recommend looking into exporting a PNG sequence that you can then convert to any video format you would like with ffmpeg or similar tools, baring in mind you could trigger the conversion process from JSFL (via
FLfile.runCommandLinefor example).In short:
document.exportVideo(), etc.)