Skip to main content
Participating Frequently
October 8, 2020
Question

Animate Error?

  • October 8, 2020
  • 3 replies
  • 1515 views

I'm not understanding how to correct this error in Animate?

 

Your HTML5 ad is trying to reference an asset that is external to your .ZIP file: https://code.createjs.com/1.0.0/createjs.min.js. Only internal file references are allowed (for example, "path/to/asset/in-zip.png"). Make sure you have included all of your assets in the .ZIP file and that all file references are internal. Once you have made the changes, try again. Learn more

    This topic has been closed for replies.

    3 replies

    kglad
    Community Expert
    Community Expert
    October 9, 2020

    1. the reason most of us didn't respond is because you responded to yourself and that made it appear that someone was already answering your question.

     

    2. download the createjs.min.js file and use a local reference in your script tag:

     

    <script src="./js/createjs.min.js"></script>

     

    (if you download to a js subdirectory of your project's directory.)

    Participating Frequently
    October 9, 2020

    For anyone that has this issue, this was my fix.

     

    Replaced

    <script src="https://code.createjs.com/1.0.0/createjs.min.js"></script>

    with Google hosted:

    <script src="https://s0.2mdn.net/ads/studio/cached_libs/createjs_2019.11.15_min.js"></script>

    This fixed my issue.

    Cheers!

    Participating Frequently
    October 8, 2020

    How do I combine these? This seems to be the Ad Words error.

     

    <script src="https://code.createjs.com/1.0.0/createjs.min.js"></script>
    <script src="Untitled-1.js"></script>

    Participating Frequently
    October 8, 2020

    I guess you just paste them together? This forum has been an amazing help. Wow!

    Participating Frequently
    October 8, 2020

    How do I fix this BS? When you search the .js I don't see a FETCH reference? Little Help?

     

    Participating Frequently
    October 8, 2020

    Someone had this solution, but not completely understanding how this naming convention is decided.

     

    Would "54e1c3722102182bb133912ad4442e19" be from "var comp=AdobeAn.getComposition("B3D6B82A22C04BA4A21EB66C6DA02F17");"   ?

     

    Then I was getting an error saying : "URL_FETCH_NOT_ALLOWED: https://code.createjs.com/createjs-2015.11.26.min.js"

    Which I fixed by changing this line in the HTML file:

    <script src="https://code.createjs.com/createjs-2015.11.26.min.js"></script>

    to this:

    <script src="https://s0.2mdn.net/ads/studio/cached_libs/createjs_2015.11.26_54e1c3722102182bb133912ad4442e19_min.js"></script>

     

    Cheers!