Skip to main content
Inspiring
December 1, 2023
Question

Class file

  • December 1, 2023
  • 2 replies
  • 154 views

How do I call class file in action (javascript) in Animate with codes.

This topic has been closed for replies.

2 replies

kglad
Community Expert
Community Expert
December 2, 2023

note: you can add multiple classes in one class file if that suits your needs.

JoãoCésar17023019
Community Expert
Community Expert
December 1, 2023

Hi.

 

You need to include the JavaScript file by going to Include section in the Actions Panel (F9).

 

Then you just declare/call/instantiate the variables, functions, and classes available in there.

 

Regards,

JC