Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

jHead

Members
  • Posts

    9
  • Joined

  • Last visited

Everything posted by jHead

  1. Hi, I'm trying to implement a retry method so I want to append a new loader in the queue every time I receive the Error event. Will the queue "use" this new loader? Do I have to re-call the load method on the queue? How the progress will be updated? Thanks.
  2. That's what i guessed but i thought it was a bug cause i thought the bytesTotal in that case were the xml + all the nested loaders. I will define an estimatedBytes, that will fix my problem. And yes, the bug i report in my first post was fixed by downloading the current version on loadermax. Anyway, thank you for your time and explanations.
  3. Here is a test project. I still have the problem. I think the first value is the bytesTotal of the xml file and the other is the bytesTotal of every objects loaded in the xml file.
  4. No problem, i'll post a zip file asap as i'm in a middle of project.
  5. I just downloaded the latest version. That's better because the final bytesTotal value is correct but I still have the problem with the first value.
  6. 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.
  7. Great. Thank you !!! That's really a cool loader.
  8. Hi, great job for this loader. I was wondering what is the best method to dispose all loaders : If i dispose a LoaderMax does it dispose LoaderMax children too or do i have to loop in the LoaderMax.getChildren and dispose all of them manually? Thanks.
×