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

ExtendScript debugging in Adobe Animate cc 2017

New Here ,
Jul 25, 2018 Jul 25, 2018

Hi,

I've been searching a lot on forums but nothing works properly. Is there any way to debug ExtendScript in Adobe Animate CC?

Thanks.

768
Translate
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 ,
Jul 25, 2018 Jul 25, 2018

Animate CC does not support ExtendScript.

However, You can reference JavaScript API in below.

Adobe Animate custom SDK and API | Adobe I/O

Translate
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
New Here ,
Jul 25, 2018 Jul 25, 2018

Ten A, thanks for shearing the reference. How can I debug the host/index.jsx file?

Translate
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 ,
Jul 25, 2018 Jul 25, 2018

Have you already check Capter1 in below article?

http://help.adobe.com/en_US/flash/cs/extend/flash_extending_reference.pdf

AnimateCC's JavaScript called JSFL, not ExtendScript.

Translate
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
New Here ,
Jul 26, 2018 Jul 26, 2018

Yes, I've checked chapter 1 but haven't found the script debugging instructions.

Translate
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 ,
Jul 26, 2018 Jul 26, 2018

JSFL doesn't have any tool for debugging. You can run JSFL file simply, Select Commands > Run Command, and then select the script.

We often use fl.trace() method to get debug message in the output panel.

Here is a sample code from the previous document.

fl.outputPanel.clear();

fl.trace("Hello World!!!");

var myPet = "cat";

fl.trace("\nI have a " + myPet);

fl.trace("");

fl.trace("I love my " + myPet);

fl.trace("Do you have a " + myPet +"?");

Translate
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
New Here ,
Jul 27, 2018 Jul 27, 2018

This method works, though it's not user-friendly, for instance the result in the output panel is not structured and so on. Anyways better than nothing 😃  Thanks a lot for help.

Translate
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 ,
Jul 27, 2018 Jul 27, 2018
LATEST

ellie.mcconan  wrote

This method works, though it's not user-friendly

I certainly hope you don't have your users doing debugging for you.

Translate
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