Skip to main content
Dre G
Participant
September 9, 2020
Question

JSAPI method to access Global Include scripts?

  • September 9, 2020
  • 0 replies
  • 158 views

I am writing tools to automate the conversion of FLA files from ActionScript into HTML Canvas. Many of the files have elements with references to ActionScript (.as) class files. When a file is converted, I would like the tool to link the appropriate JavaScript (.js) file as a Global Include reference.

 

As powerful as the JSAPI is, I haven't found a way to automate this process.  Thus the only way to do what I want is to add each ActionScript class individually by pressing "+" in the Actions panel interface and then select the file. With ten class files, in each of hundreds of files, that's a lot of clicking.

 

Does anyone know of a way to access these Global Include references through the JSAPI?

 

Thanks!

    This topic has been closed for replies.