Hey Flash Gurus
I need some help changing a preloader I have into a preloader that can be used for loading external swf.
Now the code for the preloader is
loadedbytes = getBytesLoaded();
totalbytes = getBytesTotal();
loadedkbytes = Math.ceil(loadedbytes/1000);
totalkbytes = Math.ceil(totalbytes/1000);
if (loadedbytes == totalbytes) {
nextScene();
}
frame = int(loadedbytes/(totalbytes/100));
tellTarget (_root.loader) {
gotoAndStop(_root.frame);
}
Ie the preloader and steps through a preloader animation filling the logo (ie loader)
Now I have tried changing a few things but having problems tried loading into a container and a level
Help would be awesome
Thanking you in advance
jacko