Copy link to clipboard
Copied
Hi,
is there any changelog for JSFL functions around?
Because there seems to be a change in behaviour for the frame.getCustomEase function with Animate CC 2019 which I can't get my head around.
Probably got to do with the advance layering, I guess.
The function keeps returning undefined instead of what it used to. Which makes one of our exporter scripts pretty much unusable with CC 2019.
But since the last documentation for JSFL is a pdf for CS5, fixing this problem is pretty much fishing in the dark for me.
Greetings.
No, unfortunately I don't know about any recent documentation. I am using this document:
https://help.adobe.com/archive/en_US/flash/cs5/flash_cs5_extending.pdf
Although it is called "CS5", it mentions the features introduced in the CC and above.
Copy link to clipboard
Copied
Hi,
Yes, I can confirm that In AA 2019 the behaviour of the frame.getCustomEase() function is changed in the following manner:
- If the intensity of the easing is 0, the function returns undefined
- If the intensity is greater than 0, the function returns the usual array of points.
Cheers!
Copy link to clipboard
Copied
Hi Vlad,
thank you for your response.
This is really helpful.
Do you know of any more recent ressources for JSFL other than that CS5 PDF documentation?
Greetings.
Copy link to clipboard
Copied
No, unfortunately I don't know about any recent documentation. I am using this document:
https://help.adobe.com/archive/en_US/flash/cs5/flash_cs5_extending.pdf
Although it is called "CS5", it mentions the features introduced in the CC and above.
Copy link to clipboard
Copied
Okay. Too bad.
Thank you for your answers. You helped a lot.
Copy link to clipboard
Copied
Just to follow up, I've dug deep into objects accessible in jsfl and can't seem to find anything regarding acquiring the ease information.
To apply special ease all you need is to call.
an.getDocumentDOM().getTimeline().setFrameProperty('easeType', 5, 21, 0);
Those last 3 integers are sort of the id of the ease you want to apply. So that's new