Hi Michael, Where is the Loader in relation to "this"? Is docClass an extension of Loader? Your listener will need to be attached to the LoaderInfo of the Loader you're trying to track. Attaching it to the stage won't work, since ProgressEvents do not bubble up. Once the listener is listening to the correct object, trying tracing out the values returned in the ProgressEvents.
Also, in this line if(p.bytesLoaded == p.bytesTotal), you may want to do this if(p.bytesTotal > 4 && p.bytesLoaded == p.bytesTotal), since bytesLoaded and bytesTotal will be equal before any bytes are loaded, which will kill your listener. Hth, Bob -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Mendelsohn, Michael Sent: Monday, November 09, 2009 10:16 AM To: Flash Coders List Subject: [Flashcoders] RE: as3 progress bar? A little more info: My flash file is 600k, so it needs a progress bar. I am also trying stage.addEventListener(Event.ENTER_FRAME, showLoading); But that isn't working either. It's just showing my loading graphic when the whole swf is loaded. I think the issue is the loading graphic is attached to the stage too late. Any ideas? Thanks, - Michael M. _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

