Skip to main content
Participant
May 26, 2023
解決済み

JSFL's javascript version is still outdated.

  • May 26, 2023
  • 返信数 4.
  • 1186 ビュー

I've been tacking JSFLs for quite a bit now, and it's honestly such a fun feature that I can reccomend to everyone. It really helps me know how to program and tackle coding issues in such a fun way.

 

However, it seems like I can't write in modern javascript code inside JSFL files without being given errors. The main example is when I use template literals, which was introduced in ECMAScript 6. I should have thought so, since the only PDF I can find on JSFLS dated back to somewhere around 2008. The backtick (`) is considered an illegal character. While I can substitute template literals for something alongside using strings and pluses ( "This is text with a " + variable + "!" ), I feel like template literals would make coding more precise JSFL files much cleaner and professional, and would add in features that I'm not aware of yet.

 

I really hope for a bright future for JSFLs because they are such a fun potential for extending Adobe Animate to great lengths!

このトピックへの返信は締め切られました。
解決に役立った回答 kglad

these are user-to-user forums.

 

 for applicable apps, you can make (some) suggestions to adobe here, https://helpx.adobe.com/ie/x-productkb/global/how-to-user-voice.html

 

for others, use https://www.adobe.com/products/wishform.html

返信数 4

Mario_CR
Community Expert
Community Expert
May 26, 2023

The JSAPI documentation can be found in the developer's console: https://developer.adobe.com/animate/

 

Here's the direct link: 

https://github.com/AdobeDocs/developers-animatesdk-docs/blob/master/index.md

Multoman
Inspiring
May 26, 2023

You can write js code using the es6 and higher language standard, and then simply convert the code you wrote to the old es standard. You can use the following convectors:

1. Babel
2. Traceur
3. TypeScript
4. Google Closure Compiler
5. UglifyJS
6. es6-shim
7. es6-promise
8. core-js

Legend
May 26, 2023

Coding JSFL scripts has always been the opposite of fun for me, because the API is such a chaotic, capricious, ad hoc mess. If you want to have fun with JavaScript and insist on using all the goofy new ES6 features, JSFL is just about the last place you should be looking to do it.

kglad
Community Expert
kgladCommunity Expert解決!
Community Expert
May 26, 2023

these are user-to-user forums.

 

 for applicable apps, you can make (some) suggestions to adobe here, https://helpx.adobe.com/ie/x-productkb/global/how-to-user-voice.html

 

for others, use https://www.adobe.com/products/wishform.html