Skip to main content
Participating Frequently
November 30, 2025
Question

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

  • November 30, 2025
  • 1 reply
  • 929 views

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.

    1 reply

    kglad
    Community Expert
    Community Expert
    November 30, 2025

    what's the developer console say?

    mary_0172Author
    Participating Frequently
    November 30, 2025

    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. 

    kglad
    Community Expert
    Community Expert
    December 1, 2025

    is createjs correctly referenced?