Here is a preloader for you that displays the percent. You need to make a dynamic text box on the first frame of your movie and give it an instance name of 'loader'. Then in the frame enter this actionscript:
code:
stop();
this.onEnterFrame = function(){
loaded = _root.getBytesLoaded(); //get how much has loaded
total = _root.getBytesTotal(); //get how much needs to load total
percent = (loaded/total)*100; //figure out percent that has loaded
round = Math.round(percent); //round it off
loader.text = round+"%"; //change the display of the percent loaded
if (loaded >= total){ //if it is done go on to the next frame
_root.gotoAndStop(2);
}
}
That's it.
You know what they say:
Teach a man to fish and you feed him for a lifetime.
Unless he doesn't like sushi—then you also have to teach him to cook.
I also have to make a bar preloader, I have looked at some tutorials, they show you how to make the actual preloader but not how to attach it to the timeline, you know which layers, etc, how many frames. So yeah, I would appreciate the help you can give molotov23 too. Another question, I know what your timeline must look like when the preloader is added kinda, but I saw one that was just for a movie clip that looped, would it look they same for a bar preloader?
no, there will only be one .swf because the preloader is not a seperate file. The preloader is attached to the very beginning of the timeline. What version of flash do you use then I will post you a example.