Maybe this could solve the problem:
Code:
var myXML:XML = new XML();
myXML.ignoreWhite=true;
myXML.load("xml3.xml");
myXML.onLoad = function(success)
{
if (success)
{
var myImage:Array = myXML.firstChild.childNodes;
var clipTemp:MovieClip;
for (i=0; i<myImage.length; i++)
{
var imageNumber:Number = i+1;
var imageURL:String = myImage[i].attributes.url;
clipTemp = holder_mc.createEmptyMovieClip("image_"+imageNumber+"_mc", imageNumber);
clipTemp.loadMovie(imageURL);
}
}
};
You need to change the X and y of each image, because the last one will be on the top of all of the others, in the same position, so if all the images have the same dimensions, you'll see only the last one.
If you would like to show them in a row, you could do something like this (supposing your images are 50px width)
Code:
var myXML:XML = new XML();
myXML.ignoreWhite=true;
myXML.load("xml3.xml");
myXML.onLoad = function(success)
{
if (success)
{
var myImage:Array = myXML.firstChild.childNodes;
var clipTemp:MovieClip;
for (i=0; i<myImage.length; i++)
{
var imageNumber:Number = i+1;
var imageURL:String = myImage[i].attributes.url;
clipTemp = holder_mc.createEmptyMovieClip("image_"+imageNumber+"_mc", imageNumber);
clipTemp.x = i*50;
clipTemp.loadMovie(imageURL);
}
}
};
Also you need to know that in Flash Lite you cannot load more than 5 images at the same time, (you need at least 1 second between 5 loading calls).
Hope it helps,
Marcos.