I swear I saw how to do this a while ago - but I have searched the forums to no avail, maybe someone can offer some help.
Im using loadermax to read an XML file of SWFLoaders.
If I use the setting of maxconnections of 1 things load sequentially and all is good.
I store the loader names in an array (using array.push(event.target.name) in the child complete function and play them as needed later on
However If I set it to max connections of 3 - some complete loading before others, and the array ends up out of order. An easy way around this is to just add an index to each loader.
Right now one of the XML nodes look like this :
What I would like to do is this :
Then be able to read that index variable in the child complete function.
(The work around Im using right now is to just parse the name at the _ and use the number as the index - but Id like to remove that constraint.)