Skip to main content
Participating Frequently
March 23, 2022
Question

Color coding javascript keywords in Actions panel

  • March 23, 2022
  • 1 reply
  • 165 views

I have some javascript code in the action panel of an HTML5 document in Adobe Animate. Is there any way Animate would recognize javascript keywords and color code them? Right now it recognizes just the very basic ones like var, if, else, function. But I would like it to regonize more like Math.random() for example. Is there a way to edit the list of recognized keywords? I'm using the latest Adobe Animate 22.0.3.

    This topic has been closed for replies.

    1 reply

    JoãoCésar17023019
    Community Expert
    Community Expert
    March 23, 2022

    Hi.

     

    There's no way as far as I can tell.

     

    You can request this improvement here:

    https://www.adobe.com/products/wishform.html

     

    Alternatively, you can write your code in an external JS file and use a code editor of your preference.

     

    Regards,

    JC