Read this tutorial and see how to create advanced mask preloader in flash 8, using the Action Script.
Step 1
Open a new Flash document. Select Modify > Document (shortcut key: Ctrl+J ). Set the width of your document to 220 pixels and the height to 100 pixels. Select white as background, for frame rate set 22 fps (Frames per Second), and press ok.
Step 2
Select the Text tool (T).In the Properties Panel (Ctrl+F3), choose Static Text (see left part of the image below).For color choose black color, for font choose any font, any size, and type on the stage "loading". See the picture below.
Step 3
Double click on layer 1 to rename its name in preloader.Then, go to the Align panel.If it isn't opened already, just select Window > Align or press Ctrl+K to open it. While the text is still selected do the following in the Align panel: Make sure that the Align/Distribute to Stage button is turned on, Click on the Align horizontal center button and Click the Align vertical center button. Look at the picture below!
Step 4
While the text is still selected, press F8 key (or select Modify > Convert to Symbol ) to convert it into a Movie Clip Symbol.
Step 5
Double-click on the movie clip on stage with the Selection tool (V). You should now be inside the movie clip.