Hmm...I'm hearing what you're saying but I just can't get it to implement. When I try tracing clip[i]._name in the for loop it says undefined. It did this both before and after I tried using your system. Although I will say that I changed it some and could have messed it up.
This is the code I have setup in frame 1:
PHP Code:
var myXML:XML = new XML();
myXML.load("results.xml");
myXML.onLoad = LoadThumbnails;
/**************************************/
/* Loads initial images into the MC's */
/**************************************/
function LoadThumbnails():Void {
for(var i=0; i<TotalMovieClips; i++){
this.push(createEmptyMovieClip("clip", this.getNextHighestDepth() ) );
clip[i].loadMovie(myXML.firstChild.childNodes[1].childNodes[i].firstChild);
trace(clip[i]._name);
}
}
I removed a trace statement that checked to make sure it was accessing the XML file correctly and the trace statement did provide the URL of the image. Where you see the createEmptyMovieClip, I also tried this.createEmptyMovieClip to the same result.
As far as the MovieClipLoader, how would that work if I'm creating regular movie clips? Or is it possible to still use a MovieClipLoader with an already created MovieClip?
Sorry I'm a relative noob at this.