Skip to main content
June 24, 2008
Question

Preloader whilst loading external .jpg

  • June 24, 2008
  • 1 reply
  • 233 views
This is the script I use to load external .jpgs into a site

btn1.onRelease = function (){
loadMovie("Bike.jpg", _root.photo.empty);
_root.stick.gotoAndStop(80);
}

How would I create script so that it creates a sepaprate preloader whilst each image is loading.
This topic has been closed for replies.

1 reply

clbeech
Inspiring
June 24, 2008
for something like this it's best to use the MovieClipLoader class, rather than loadMovie() - doing so will allow you to use the onLoadPrgress handler to update the preloader while it's being loaded. it would go something like this: