Multiple Collada loading

I have to display multiple Collada objects in a scene whos’ individual information is listed in an XML document as nodes. Heres what needs to happen:

  1. Store item ‘titles’ and ‘ids’ inside an array from an XML document. (I think I have this part working and ready)

  2. The data from the XML is then used to generate paths to Collada files. Path example: new Collada = “items/” + itmeName + itemID “.dae”;

  3. A function is called upon to construct each unique Collada instance for every item in the XML using path data from the array.

The bit that has me stumped is how to fit all these together? I need help with a function that takes the data in the array, acts as a path finder and constructer for each item in the library. I suppose this is kind of like when an AS3 XML driven menu is built. You take the data and then have a function that adds event listeners and text bodys for each instance. If I’ve explained this badly, or you wish to see some code, please just let me know!
Thanks

So I can load multiple objects and display them, but they are all getting loaded into the single display object. How do I split each Collada instances up into another array for me to manipulate individually. I need to construct a nested array, but can’t figure it out in this case?

for (var i = 0; i < result.length; i++) {
var materialTwo:BitmapFileMaterial=new BitmapFileMaterial(“items/” + result*.title + result*.id + “.jpg”);
var myMaterialList:MaterialsList = new MaterialsList( { all: materialTwo } );

 itemInViewer=new Collada("items/" + result*.title + "-" + result*.id + ".dae", myMaterialList);
		default_scene.addChild(objectInViewer);				
		}

Something like “itemContainer*.objectInViewer(result*.title, result*.id);”. I want to load each item and increment it’s position.
Many thanks for any help!?