Ok. I'm now able to load up the specific image based upon the xml file previously shown. For some reason, it won't load the swf into a target. I think this has something to do with them not being on the time line, but loading due to being configured with arrays. Anyhow, how to I reference the same movie clip?
I imagine something along the likes of:
loadMovie (Image, *this movie clip*.Image);
but I don't know how to reference a movie clip like this. Much props to anyone who can tell me this one. Here's what I have now:
function getImage (Product) {
for (CounterA=0; CounterA<Products.length; CounterA++) {
if (Products[CounterA].Name == Product) {
showImage(Products[CounterA].Image);
break;
}
}
}
function showImage (Image) {
loadMovie (Image, _root.Image);
}
Where a frame action starts the getImage function
Gracias,
Blended
I imagine something along the likes of:
loadMovie (Image, *this movie clip*.Image);
but I don't know how to reference a movie clip like this. Much props to anyone who can tell me this one. Here's what I have now:
function getImage (Product) {
for (CounterA=0; CounterA<Products.length; CounterA++) {
if (Products[CounterA].Name == Product) {
showImage(Products[CounterA].Image);
break;
}
}
}
function showImage (Image) {
loadMovie (Image, _root.Image);
}
Where a frame action starts the getImage function
Gracias,
Blended