Preloader HELP!

This maybe kinda a old question . but i still stuck on it =( . i have a .swf have 5 scene. but i dont want to preload the whole file all the time . i want to make the preloader scene by scene. any one can teach me how to do it?

here is my preloader:

bytes = _root.getBytesTotal();
_root.totaloutput.text = bytes;
bytesloaded = _root.getBytesLoaded();
_root.loadedoutput.text = bytesloaded;
percent = Math.floor(getBytesLoaded()/getBytesTotal()*100);
_root.percentoutput.text = percent + “% is loaded”;
_root.loadBar._xscale = percent;