Skip to main content
Participating Frequently
Nov 30, 2025 7:31 PM UTC
Question

Trying to Upload Adobe Animate HTML5 Canvas to a website, but it's not displaying.

Hey Everyone, 
So I was working on a project called Racing in Adobe Animate HTML5 Canvas, It uses javascript so I also exported the file Racing.js, however whenever I try to add it to the HTML, CSS, and JS of a site I'm working on, it doesn't work. I've tried tweaking the JS, but the site will not display the animation.

I will send the portion website code where the Racing.js applies, if anybody can help I'll much appreciate it.

    15 replies

    kglad
    Community Expert
    Community Expert
    Nov 30, 2025 9:03 PM UTC

    what's the developer console say?

    Translate
    mary_0172Author
    Participating Frequently
    Nov 30, 2025 11:59 PM UTC

    I've gotten two errors

    Major One

    Uncaught ReferenceError: lib is not defined

    racing.js:3323

    and

    Game initialization failed. Make sure 'createjs.min.js' and 'racing.js' are correctly loaded .html:180:17
    init file

     

    So Whenever I load my website with the racing.js, it'll just show a blank screen, I assume the assets failed to be loaded and recognized by the sytem. 

    Translate
    kglad
    Community Expert
    Community Expert
    Dec 1, 2025 12:04 AM UTC

    is createjs correctly referenced?

    Translate