I'm using the below code to load an image via xml into an existing movie clip "pic1" within another movie clip "pics". It works fine except that when the movie loops back to the beginning, the image loaded into "pic1" is no longer there. Any ideas?

function ParsePics(picsInput:XML):void {
var picsList:XMLList = picsInput.pic.image;
//for (var i:int = 0; i < picsList.length(); i++) {
var picsElement:XML = picsList[0];
var imageURL = picsElement;
var loader:Loader = new Loader();

var picMovie = pics.getChildByName('pic1');
picMovie.addChild(loader);
loader.load(new URLRequest(imageURL));
loader.y=-185.5;

}