6 Replies Latest reply on Aug 8, 2016 11:05 AM by be-digital

    Compressing external createjs code library from Flash Canvas


      Hi Guys, please help!


      I've created a set of banners using Flash HTML5 Canvas. I was given a total of 100kb load and while the exported html, js and image assets are below this, the ad operator has said the loaded js libraries are too big!


      it seems that flash canvas needs these external libraries to work:

      <script src=https://code.createjs.com/easeljs-0.8.1.min.js> (83.4kb)

      </script><script src=https://code.createjs.com/tweenjs-0.6.1.min.js></script> (22.5kb)

      <script src=https://code.createjs.com/movieclip-0.8.1.min.js> (4.3kb)

      </script><script src=https://code.createjs.com/preloadjs-0.6.1.min.js></script> (54.9kb)


      They've also said that the banner should be self contained, ie all code be local to the html.


      does anyone know how to

      a) make the code local

      b) reduce the kb load from the js files?


      Here's a link to one of the html5 ad units: display-pl-980x300-v3


      Really appreciate ANY help