Hi,
i create an XMLLoader like this :
var configLoader:XMLLoader = new XMLLoader(applicationConfigURL,{name:"configLoader", onComplete:onLoadingComplete, onProgress:onLoadingProgress, onError:onLoadingError, autoDispose:true});
configLoader.load();
here is my XML:
<?xml version="1.0" encoding="UTF-8"?>
and when i trace the bytesTotal and the progress i got this result :
Preloader.onLoadingProgress() 478 0.9895397489539749
Preloader.onLoadingProgress() 232545 0.031550882624868305
Preloader.onLoadingProgress() 232545 0.0434711561203208
Preloader.onLoadingProgress() 232545 0.05130619880023221
Preloader.onLoadingProgress() 232545 0.052523167558967084
Preloader.onLoadingProgress() 232545 0.05253606828785826
Preloader.onLoadingProgress() 232545 0.12299124900556882
Preloader.onLoadingProgress() 232545 0.19344642972327936
Preloader.onLoadingProgress() 232545 0.2639016104409899
Preloader.onLoadingProgress() 232545 0.3343567911587005
Preloader.onLoadingProgress() 232545 0.404811971876411
Preloader.onLoadingProgress() 232545 0.47526715259412156
Preloader.onLoadingProgress() 232545 0.5457223333118321
Preloader.onLoadingProgress() 232545 0.6161775140295427
Preloader.onLoadingProgress() 232545 0.6786901459932486
Preloader.onLoadingProgress() 232545 0.6807456621299104
Preloader.onLoadingProgress() 232545 0.7512008428476209
Preloader.onLoadingProgress() 232545 0.8216560235653314
Preloader.onLoadingProgress() 232545 0.892111204283042
Preloader.onLoadingProgress() 232545 0.9625663850007525
Preloader.onLoadingProgress() 232545 0.9925777806446064
Preloader.onLoadingProgress() 232545 1
Preloader.onLoadingProgress() 478 0.9895397489539749
(the first Number is the bytesTotal and the second one is the progress).
i noticed that if i remove the autoDispose from the XMLLoader i don't have the last 478 bytesTotal.
i also try to put the XMLLoader in a LoaderMax and put requireWithRoot:this.root but nothing changed. Any idea?
thanks.