I'm trying to create a photo gallery with flash, I pull in images from
an xml file and assign each image to a movie clip (to display the
thumbnail). The goal is to allow the user to click the thumbnail and
the main movie clip will display the thumbnail image larger.
I'm really stumped here, I've loaded the image into the movie clip and
now I'm not sure how I use scripting to tell the main movie to pull in
the image thats already loaded to another movie clip?
Thanks in advance everyone!

Example:
for (i=0; i<total; i++) { // load xml file with image url's
image[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
myMovie.loadMovie(image[1], 1); // Loads thumbnails into movie clips
}
on (press) {
mainMovie.loadMovie(??) // Really stuck here
}