I'm writing code to be used both as javascript on a web page, and as an AE expression, but I'm finding errors occur (regardless of whether the project is set to "Legacy ExtendScript" or "JavaScript"). I've consulted this Adobe reference page to figure out what issues I'll encounter, but, even after clicking through the links, it's still not clear. An example of an issue I've encountered is the "ease" expression. In AE, the only function available seems to be "ease()", whereas in JS, "ease()" doesn't seem to work, and instead there are an array of ease expressions like "easeInOutSine()". I don't see anything mentioned about these functions in the Adobe reference page. I have two questions: 1) Is there a clearer reference to learn the differences between the two languages? and 2) Does anyone have any advice for writing code that will work in both environments? Thanks!
... View more