creating url links from images in xml
My xml for a gallery I have set up is like this:
<image>
<name>WEB FOLIO</name>
<image>frogs.jpg</image>
<url>http://www.frogsarecool.com target=_blank</url>
</image>
<image>
<name>WEB FOLIO</name>
<image>technocrane.jpg</image>
<url>http://www.technocranecanada.com/ target=_blank</url>
</image>
</gallery>
I've also created an onRelease function on image_holder_mc in my web.swf file as follows:
image_holder_mc.onRelease = function() {
getURL("_blank");
};
The problem is that the gallery images, when clicked, don't go to the url specified in the xml file. How do I get the image_holder_mc to "speak" with the xml file so that the images go to the proper url when clicked? If you go to http://clearlygreendesign.com/ click the folio button and then try out the web gallery, you will see the error I'm getting.