PDA

View Full Version : URLLoader and bytesTotal



chinamark
July 15th, 2008, 10:23 PM
Hi guys,

I'm registering for the ProgressEvent.PROGRESS event on a URLLoader object. The URLLoader object is loading a fairly large xml file (50KB).

It appears that the bytesTotal (and perhaps bytesLoaded) value is incorrect. It seems fine locally but as soon as I put the swf on a web server it's wrong.

I've attached my source .as file and some trace output. I'd really appreciate it if somebody took a quick look. Thanks!

dthought
July 16th, 2008, 07:17 AM
Why is your progress handler a function within a function?