REALLY need help with PRELOADER

I have created a blank flash document and followed the instructions on how to create a preloader but it doesn’t seem to work?

I created two keyframes on layer 1 and entered the AC which is displayed. I think created a new layer and placed a movie clip that has 100 frames in which I called the instance name “Loader”. I then created a dynamic text box that had the variable name “percentage”.

When I exported the movie clip all that happened was the loading bar filled up and then started again forever.

How can I get this to work correctly.