Copy link to clipboard
Copied
The following command does not export any video:
fl.getDocumentDOM().exportVideo("/Users/dimche/Desktop/testVideo.mov");
I can see the temporary .swf file appear and disappear, then the Media Encoder opens, but there's nothing in the queue and no .mov file is created. File > Export Video..., on the other hand, works fine, creating and sending the .mov file to the queue.
I'm on macOS Mojave 10.14.6, latest Adobe Animate 19.2.1, Adobe Media Encoder 13.1.3
Any ideas on why this is not working?
Hi.
The path must be expressed as as a file:/// URI.
https://help.adobe.com/archive/en_US/flash/cs5/flash_cs5_extending.pdf#G13.1213177
Usage
exportVideo( fileURI [, convertInAdobeMediaEncoder] [, transparent] [, stopAtFrame] [, stopAtFrameOrTime] )
Parameters
fileURI A string, expressed as a file:/// URI, that specifies the fully qualified path to which the video is saved.
For example:
...var platformPath = "C:/Users/joaoc/Desktop/test.mov";
var uri = FLfile.platformPathToURI(platformPath);
fl.getDocumentD
Copy link to clipboard
Copied
Hi.
The path must be expressed as as a file:/// URI.
https://help.adobe.com/archive/en_US/flash/cs5/flash_cs5_extending.pdf#G13.1213177
Usage
exportVideo( fileURI [, convertInAdobeMediaEncoder] [, transparent] [, stopAtFrame] [, stopAtFrameOrTime] )
Parameters
fileURI A string, expressed as a file:/// URI, that specifies the fully qualified path to which the video is saved.
For example:
var platformPath = "C:/Users/joaoc/Desktop/test.mov";
var uri = FLfile.platformPathToURI(platformPath);
fl.getDocumentDOM().exportVideo(uri);
I hope this helps.
Regards,
JC