Animate CC 2019 Don't Save modifications made from JSFL script !!!
Hello,
I have a jsfl script which remove some empty layers like that:
>> fl.openDocument(MyInputDocumentPath);
>> ...
>> myTimeline.deleteLayer(i);
>> ...
And then save the document like that:
>> fl.saveDocument(fl.getDocumentDOM(),MyOutputDocumentPath);
- With CC 2018 this script works;
>> The layers are removed in the new saved fla
- With CC 2019 this script don't work:
It saves the new document but the layers are still inside.
It looks like the script modifications are not saved !
(I have checked with some "fl.trace(...)" that the layers are realy removed during the execution of the script - myTimeline.layers.length decrease)
Did i miss something ? a document.flush before saving it ?
Or is it a new bug ?
Thanks.
Stéphane.
