Hi,
I'm trying to avoid loading xml data form multiple files. Instead I want to have only one xml file with all my data, and load only a certain amount of data in different parts of my app.
I figured that the best solution would be using XMLLoader and parseLoaders method, but I'm having a hard time implementing it.
Here's my code:
var _queue:LoaderMax=new LoaderMax({ name:'laderQueue', onProgress:progressHandler, onComplete:completeHandler });
XMLLoader.parseLoaders(xml,_queue,_queue);
_queue.load();
Where xml var contains XML:
Unfortunately this doesn't work. When I trace numChildren of _queue I get "1" and in completeHandler trace(e.currentTarget.bytesTotal) I get 0.
Any ideas on what I am doing wrong?
PS: Forgive my English