CS4 Preloader trouble

Hi,

I’m making a flash game and I have this code for my preloader


public function SuperJetMan()
        {
            loaderInfo.addEventListener( Event.COMPLETE, onCompletelyDownloaded );
            loaderInfo.addEventListener( ProgressEvent.PROGRESS, onProgressMade );
        }
        public function onProgressMade( progressEvent:ProgressEvent ):void
        {
            trace(loaderInfo.bytesLoaded);
             loadingPercent.width= Math.floor( 250 * loaderInfo.bytesLoaded / loaderInfo.bytesTotal );
        }
        public function onCompletelyDownloaded( event:Event ):void
        {
            gotoAndStop(2);
        }

The loadingPercent symbol is a rectangle on frame1 of the movie. When I run it, no preloader shows. It just starts loading everything and then once it all loads, trace outputs “2247774”.

I unticked all the “Export for frame 1” options (except for preloader) and there’s only the preloader stuff in frame 1 of the movie, I’m not sure why it won’t work.