Skip to main content
pagios
Inspiring
April 4, 2019
Question

Animate CC JS ES6 support

  • April 4, 2019
  • 1 reply
  • 917 views

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 has been closed for replies.

1 reply

Legend
April 4, 2019

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?

pagios
pagiosAuthor
Inspiring
April 4, 2019

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?

Legend
April 4, 2019

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.