Copy link to clipboard
Copied
Hands down, createjs is awesome. But for me (building html5 banners for googles display network) 187KB (or 47KB compressed) are often way to much since Google doesnt accepts external scripts (for a good reason). So as I mostly do not use all features of createjs I wanna know if it is possible to build the library dynamicly with only the needed functions for my very own project? I guess this would dramatcly reduce the scriptsize and speed up my banners loading time. Any hints?
CreateJS library is already available on major ad networks including google. So, it won't matter even if you use the full library as it wouldn't add to your ad's file-size.
You just need to change the CreateJS url in the published file from animate with the ad network's CreateJS url.
eg: CreateJS links for google DoubleClick can be found here:
DoubleClick hosted JavaScript libraries - DoubleClick Creative Solutions Help
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Well, can you explain your answer in detail please? I dont wanna build up createjs by its source on my own. I wanna do this automaticly within animateCC for e.g. if I dont use a tween, it shouldnt include the tweening-classes in the build.
Copy link to clipboard
Copied
CreateJS library is already available on major ad networks including google. So, it won't matter even if you use the full library as it wouldn't add to your ad's file-size.
You just need to change the CreateJS url in the published file from animate with the ad network's CreateJS url.
eg: CreateJS links for google DoubleClick can be found here:
DoubleClick hosted JavaScript libraries - DoubleClick Creative Solutions Help
Copy link to clipboard
Copied
Sheeeee, didnt know that. Thanks man!