Skip to main content
pagios
Inspiring
Apr 4, 2019 4:39 PM UTC
Question

Animate CC JS ES6 support

Does Animate CC support ES6 JavaScript fully or just ES5?

Moreover, Joseph Labrecque, mentions in a 2016 article that Animate CC is a “language agnostic application”.  However, I do not understand how that is the case since, if that is true, Animate CC should be able to support any version of JS, as soon as such a version became available. I am certainly not an expert but I do not think this is the case.

Please explain. Thanks.

This topic is closed to new replies. Start a new post to keep the conversation going.

4 replies

Legend
Apr 4, 2019 7:30 PM UTC

I don't understand the question. Animate in HTML5 mode generates JavaScript code to run its animations. Why do you care what language features the generated code uses?

Translate
pagios
pagiosAuthor
Inspiring
Apr 4, 2019 8:06 PM UTC

I was probably not clear enough. I am referring to the JS version I can use in Animate. So, can I use JS ES6 while developing in Animate?

Translate
Legend
Apr 4, 2019 8:13 PM UTC

Any code you type in the Actions window in an HTML5 Canvas document is passed straight through to the browser. Animate doesn't cross-compile it, optimize it, or touch it in any way.

So if you don't mind your pages crashing in 10% of all desktop browsers, sure, go nuts with ES6.

Translate