To make a long story short, I need to figure out an as-easy-as-possible way to have my flash actionscript retrieve the file name of the last image externally loaded into a gallery. For example: In this gallery, image3.jpg is selected. Next image7.jpg is selected. Once this image7 is selected, and while it is loading, another loader in a layer beneath loads the previous-selected image3, so that image7.jpg fades in over the last image selected (image3.jpg).
Here’s the code I have on the loader (if it matters):
onClipEvent (load) {
imageProperties = _root.getCurrentImageName_splash(0);
loadMovie(_root.url+imageProperties[‘name’], this.cont.cont1);
url = imageProperties[‘linkToOpen’];
targetWindow = imageProperties[‘target’];
}
All I need is a variable, something like ‘prev_imageProperties’, that works and I’m golden! Any help would be greatly appreciated