Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Can I sync up multiple image onload calls? Re: Can I sync up multiple image onload calls?

#93677
noahgelman
Participant

@mottie

Thanks, but not quite what I needed. I should have been more specific. These images aren’t been loaded into tags, I’m using them in an HTML5 canvas. The user is able to change what’s drawn on the canvas via buttons and I want to make sure the images related to that are all loaded up before running all my other code.