Preloaders are the bane of all flash newbies and provide the first real test of Flash-hood. There are also many different ways of approaching the design too. Some use javascript, some only use two frames, some load every object behind a false background and others use tweened shapes and lots of keyframes. Well just to confuse you more, here is another way of building an advanced preloader but it's probably the best way too. This preloader uses the actual byte values for each frame of your movie loaded in via a text file. Below is the timeline. The length is inconsequential but in this example it's 86 frames.
To create this preloader we have to first create the text file which is done by modifying the contents of the Size Report. To do this you need to first generate a size report. Select File> Publish Settings and check the generate size report option (see below). Now publish your flash movie (File> Publish). You will now have a size report in the same directory as your .SWF file. Open it up and have a look at it.
In your size report you will have a list of frames, one through to x (x being total number of frames). To create your text file of variables it's just a matter of modifying the contents until you have something like this (see below) and saving it as "byte.dat"(don't forget the two important variables at the end, these should be self explanatory)