Please do NOT credit me on that or complain to me about what went wrong.
although credit does go to FrAnKeH for searching for it within the google cache.
just dl the file, open it, and read the contents.
Edit: And a heap load of credit to lex0r for taking time to do this.
Edit2: Due to people not having Microsoft i have decided to copy the instructions onto this post.
"This is something that alot of people struggle with so i decided to make this tutorial on how to create your very own preloader.
First off you will need to open flash, so open it.
On the layer that you have rename it:
loadBar
Use the rectangle tool and create a little bar, the legnth you want your loading bar to be.
Making sure that there is NO outline on your bar.
Now select your bar and press F8 to open up the convert to symbol box.
Call it loadBar and make sure that the type of symbol is a 'Movie Clip'
Then set its registration point to the left hand side.
It should look exactly like this:

Then single click on your new Movie Clip and go into the properties panel. If you can't see your properties panel (at the bottom press Ctrl+F3)
And give the instance a name of loadBar, like this:

Once that is done create another layout and call it border. Make sure that this new layer (border) is above the loadBar layer.
Then draw around the bar in the new layer with whatever colour you want.
Now we'll leave the loading bar alone for a bit and get started on the percentage text.
Create a new layer and call it loadText, make sure that this layer is above both border and loadBar layers.
Create a text box in the new layer (loadText) and make sure its a Dynamic Text Box, look at this next pic to see how to set this:

Then give it a Variable Name of loadText like this:

That is the whole drawing side of the perloader done. Now we'll get to the most trickiest part the programming, which infact isn't as hard as everyone thinks.
Create a new layer and call this layer actions. Then create two new keyframes on the actions layer so there are 3 key frames in all.
Make sure that the other 3 layers span two of them keyframes.
This sounds confusing so heres a screen shot of what I mean:

Now right click on frame ONE of the the actions layer and select actions, this should make a little box at the bottom of the page appear.
Copy this code into the actions:
bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
this.loadBar._width = getPercent*100;
this.loadText = Math.round(getPercent*100)+"%";
if (bytes_loaded == bytes_total) {
this.gotoAndPlay(3);
}
Now right click on frame TWO of the actions layer and put this in the actions box:
this.gotoAndPlay(1);
Then right clcik on frame THREE of the actions layer and put this in the actions box:
stop();
And thats it. Your preloader should now work.
I would go through the code with you, but since its more a thing of copy paste, there is not much point.
If you would like to know what the code means, just let me know and I'll tell you.
Hope it helps people
UPDATE
some people are saying that there loading bar isn't reaching the end of there rectangle well what you need to do is in the code
bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
this.loadBar._width = getPercent*100;
this.loadText = Math.round(getPercent*100)+"%";
if (bytes_loaded == bytes_total) {
this.gotoAndPlay(3);
}
the part- this.loadBar._width = getPercent*100;
the 100 is the width of your loading bar at its full legnth, for example if you r loading bar is 200 px wide then you cahnge it to
this.loadBar._width = getPercent*200;
I hope that clears that up
Next update to this first update :)
DA asked me how to make it display the Bytes loaded, well create another layer can call it loadBytes.
Draw another dynamic text box and give it a Variable name of loadBtyes just like the loadText one.
Then in the programming add
this.loadBytes = bytes_loaded+"Bytes";
so your new code should look like this
bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
this.loadBar._width = getPercent*100;
this.loadText = Math.round(getPercent*100)+"%";
this.loadBytes = bytes_loaded+"Bytes";
if (bytes_loaded == bytes_total) {
this.gotoAndPlay(3);
}
There you have it, that now displays the bytes loaded, a loading bar, and a percent loader."
By Lex0r. And here's the .doc file you can dl. It'll soon change into .txt when i have time.