as3 xml urlloader problem

Im getting a 404 error on this code. its coming from line 18 which i have commented out. the code works when i take it out. For the life of me i dont know why its not working. I have traced out the value of picLoc and i actually get a value, so im not sure why its not giving me what i want.

any help would be so great.

thanks

stop();

var myXML:XML;
var myloader:URLLoader = new URLLoader();
var arLoad:Array = [];

myloader.load(new URLRequest("images/gallery.xml"));
myloader.addEventListener(Event.COMPLETE, process);

function process(e:Event):void {
	myXML = new XML(e.target.data);
	var total:Number;
	total = myXML.Gallery[0].Image.length();
	for (var i:int = 0; i < total; i++) {

		var picLoc:String = myXML.Gallery[0].Image.@picURL;
		var picLoader:Loader = new Loader();
//  This is where Im getting the problem... this loader
		picLoader.load(new URLRequest(picLoc));
		picLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, completed);
		arLoad.push(picLoader);

	}

}




function completed(event:Event):void {
}