What should i do now?

Hello all ,

I have this code and using this code i got one image through XML in one page of my template ,but what should i do if i have to get 5 images through XML in that same page .
please tell me.


_root.createEmptyMovieClip(“mcImageHolder”,1);
mcImageHolder._x = 85;
mcImageHolder._y = 70;
myPhoto = new XML();
myPhoto.ignoreWhite = true;
myPhoto.onLoad = function(success)
{
mcImageHolder.loadMovie(myPhoto.firstChild.childNodes[1].attributes[“main”]);
}
myPhoto.load(“photo.xml”);