Xml

hi

I followed the tut on kirupa, nice, I am struggling to get further though. I want to add my image to the stage but no luck? It traces that the xml object has been added but I cant seem to get it to display on the stage…HELP!!

var loader:URLLoader = new URLLoader();
loader.addEventListener(Event.COMPLETE, LoadXML);

var xml:XML = new XML();

function LoadXML (e:Event) : void {
xml = new XML(e.target.data);
var il:XMLList = xml.image;
for (var i:int = 0; i < il.length(); ++i) {
trace(il);
}
}

loader.load(new URLRequest(“gallery.xml”));