• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

JSFL's javascript version is still outdated.

New Here ,
May 25, 2023 May 25, 2023

Copy link to clipboard

Copied

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!

TOPICS
Code

Views

423

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , May 26, 2023 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

Votes

Translate

Translate
Community Expert ,
May 26, 2023 May 26, 2023

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 26, 2023 May 26, 2023

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
May 26, 2023 May 26, 2023

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 26, 2023 May 26, 2023

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines