I'm a flash newbie and I am trying to change the images the following calls up. (Using CS4 and AS 2.0)
imageProperties = _root.getCurrentImageName(0);
loadMovie(_root.url + imageProperties.name, this.cont.pic);
url = imageProperties.linkToOpen;
targetWindow = imageProperties.target;
On the main timeline there should be some actionscript that includes a function named getCurrentImageName. Whatever that function is doing it is assigning values to an object called imageProperties, one of which is likely a web address (url)
Also onClipEvent(load) doesn't do what you think it does. It won't tell you when external content has been loaded. kglad posted on this very issue within a little bit....
You also really shouldn't be using the onClipEvent() and on(0 type of event handlers. Unless you are publishing to Flash 5 or earlier. Here is a good article on that issue:
You really should look into using the MovieClipLoader class.