I have a project where a bit of code will trigger the loading of an external swf that contains an image. The image is quite large - over 3 MB - and everything in the main file seems to freeze for 5 seconds or so while itās loading, which is quite annoying. I would love to create a preloader for it - or something that indicates that the image is loading to the viewer. However, the searching Iāve done indicates that it is not possible to have a preloader work for something that isnāt on the web (e.g. a CD or just an exe on your machine).
You donāt need a preloader for things that are being read off of the local machine because they load pretty much instantaneously since they donāt have to be downloaded. So a preloader is useless for something like this.
That is what I have read but then my images DONāT load instantaneously. Granted itās much faster than it would be on the web, but there is still some drag time where the user is like āwhat the heck? how come I donāt see anything and all the buttons and sliders have frozen?ā. Is there someway for me to get a message to the user to let them know itās loading? I guess a setInterval or something? But the lag time isnāt always the same . . .
maybe it would be wise to use something other than flash if this aspect is really important? alternatively you could have a loading animation to occupy the space until the image has loaded? not quite a preloader, but it would work i guess