Skip to main content
Participant
October 25, 2018
Question

Animate CC 2019 Don't Save modifications made from JSFL script !!!

  • October 25, 2018
  • 2 replies
  • 384 views

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.

This topic has been closed for replies.

2 replies

heathstark
Participant
November 9, 2018

Hi Twinstef-

Did anyone from Adobe log a bug for this? Do you have a reference number?

Preran
Legend
October 26, 2018

Thank you for sharing this info. Let me check with the team and get back to you.

Meanwhile, I suggest getting in touch with the tech support team using this link Contact Customer Care

They can investigate and log a bug for you if necessary. Meanwhile, continue using the previous version of Animate.

Thanks,

Preran