I have several images that are preloaded like:
var Image1 = new Image();
var Image2 = new Image();
var Image3 = new Image();
Image1.onload = function ...();
Image2.onload = function ...();
Image3.onload = function ...();
Image1.src = url;
Image2.src = url;
Image3.src = url;
Which is all fine and dandy and what not. But I would like to try and set up a progress bar for them while their loading and havent been able to get it to work. Any help would be appreciated.
I tried doing a progress bar using the onload functions, but it was being weird with instantly running the function before it was actually loaded.
Take your pick https://www.google.com/search?q=progress+bar+for+preloading+images&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
You must be logged in to reply to this topic.