I am having a slight problem with my script for preloading images. What I want to achieve is a page that does not display until all the images on the page have been loaded. Whilst the images are loading I would like to display an animating image (a .swf flash animation). I have most of the scripts prepared I think.
I have attached them.
I already have a script that displays a loading image whilst the page loads, however I wish to change the script so that the content on the page displays is shown after the preload function that I have created is finished.