This content has been marked as final.
Show 3 replies
-
1. Re: Custom ProgressEvent does not report bytesLoaded and bytesTotal !!!
Raymond Basque Jun 12, 2009 6:01 AM (in response to Ziggizag)You haven't assigned those values to your custom event.
private function onProgress(e:ProgressEvent):void
{
trace(e.bytesLoaded, e.bytesTotal); <- this is giving the right output !!!
var customProgressEvent:CustomProgressEvent = new CustomProgressEvent("PROGRESSO", CustomProgressEvent.PROGRESS);
customProgressEvent.argumento = myParameter;customProgressEvent.bytesLoaded = e.bytesLoaded;
customProgressEvent.bytesTotal= e.bytesTotal;
dispatchEvent(customProgressEvent);
} -
2. Re: Custom ProgressEvent does not report bytesLoaded and bytesTotal !!!
Ziggizag Jun 12, 2009 6:15 AM (in response to Raymond Basque)Hi Raymond,
You saved my *** twice today - I owe you something better than Beaujolais Nouveaux, man !
Merci bien,
Ziggi
-
3. Re: Custom ProgressEvent does not report bytesLoaded and bytesTotal !!!
Raymond Basque Jun 12, 2009 6:17 AM (in response to Ziggizag)Bienvenue!


