Hey all, I am putting a flash presentation on the front page of the site which is a series of 15 photos. I have made a preloader for these images however it preloads all 15 rather then just one at a time. Does anyone know how I can do this?
Here is the code for the preloader...
Frame 1
Frame 2
All help is appreciated...
Thanks in advance.
Here is the code for the preloader...
Frame 1
Code:
var amountLoaded:Number = _root.getBytesLoaded()/_root.getBytesTotal()
preloader._width = amountLoaded * 200;
loadText.text = Math.round(amountLoaded * 100) + "%";
Code:
if(_root.getBytesLoaded() == _root.getBytesTotal()) {
gotoAndPlay(3);
}
else {
gotoAndPlay(1);
}
All help is appreciated...
Thanks in advance.