Skip to main content
chespio
Inspiring
December 31, 2021
Answered

+50 Mb canvas project - getContext error

  • December 31, 2021
  • 1 reply
  • 413 views

Hi guys, 

I'm working on a project with lots of graphics details and frame by frame image animations, and start to receive some wird errors only when I try it online, and I'm start to think those are because of the loading time 

 

https://nifty-albattani-10a36b.netlify.app 

 

The error:

createjs.min.js:12 Uncaught TypeError: Cannot read properties of undefined (reading 'getContext')

 

If I cache the images or browser offline this error does not occur

Anyone have any idea or can point me some keywords to find a solution?

 

 

 

    This topic has been closed for replies.
    Correct answer chespio

    I need to start searching more deeply for answers. 

     

    I found the solution of my problem in this toic

     

    https://community.adobe.com/t5/animate-discussions/preloading-error-with-canvas-project-on-first-load-with-a-large-spritesheet-file/td-p/10782224

     

    thnks, and sorry 

     

     

    1 reply

    chespio
    chespioAuthorCorrect answer
    Inspiring
    December 31, 2021

    I need to start searching more deeply for answers. 

     

    I found the solution of my problem in this toic

     

    https://community.adobe.com/t5/animate-discussions/preloading-error-with-canvas-project-on-first-load-with-a-large-spritesheet-file/td-p/10782224

     

    thnks, and sorry