Skip to main content
Participating Frequently
September 1, 2021
Question

Editing stack order of Animate CC scripts on publish

  • September 1, 2021
  • 1 reply
  • 239 views

I am making a custom HTML publishing template. I'm using the Include panel to add 2 js libraires via URL. 

When I use the $ANIMATE_CC_SCRIPTS variable, they load in this order:

<script src="index.js?1630518024271"></script>
<script type='text/javascript' src='https://s0.2mdn.net/ads/studio/cached_libs/createjs_2019.11.15_min.js'></script>
<script type='text/javascript' src='https://s0.2mdn.net/ads/studio/cached_libs/gsap_3.5.1_min.js'></script>

 
How can I make it so that index.js loads last? Rearranging the order of in the scripts in the Include panel has no effect. (screenshot) 

    This topic has been closed for replies.

    1 reply

    kglad
    Community Expert
    Community Expert
    September 2, 2021

    you'll need to download those other two libraries and use their local paths/names, and change the script list order.

    Participating Frequently
    September 2, 2021

    That's what I was doing originally, it's frustrating that there isn't a variable that seperates the produced js file from the library files. Oh well.