Hello,
Am stuck and need some help. My situation is as follows :
I have an XML from which I get some urls passed into flash. (urls are path to images)
And I have 3 movieclips sitting on the stage waiting to hold the images.
I need to preload all the 3 images on the first frame of my movie before it starts playing.
All I have been able to do is this :
////////////////////////////////////////////////////////////////////////
upComing = new XML();
upComing.ignoreWhite = true;
upComing.load(“xml/hupcoming.xml”);
upComing.onLoad = function(success) {
image = [];
xmlNode = this.firstChild;
totalNumImages = xmlNode.childNodes.length;
for (i=0; i<totalNumImages; i++) {
image* = xmlNode.childNodes*.childNodes[0].firstChild.nodeValue;
}
trace(image[0]);
trace(image[1]);
trace(image[2]);
};
////////////////////////////////////////////////////////////////////////
var imgHolders:Array = [holder1, holder2, holder3];
I have been looking at the MovieClipLoader but cant figure it out.
Anyone around who can help me complete this.
Thanks.**