Copier le lien dans le Presse-papiers
Copié
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.
Copier le lien dans le Presse-papiers
Copié
Animate CC does not support ExtendScript.
However, You can reference JavaScript API in below.
Copier le lien dans le Presse-papiers
Copié
Ten A, thanks for shearing the reference. How can I debug the host/index.jsx file?
Copier le lien dans le Presse-papiers
Copié
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.
Copier le lien dans le Presse-papiers
Copié
Yes, I've checked chapter 1 but haven't found the script debugging instructions.
Copier le lien dans le Presse-papiers
Copié
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 +"?");
Copier le lien dans le Presse-papiers
Copié
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.
Copier le lien dans le Presse-papiers
Copié
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.
Préparez-vous ! Une expérience Adobe Community améliorée arrive en janvier.
En savoir plus