Hyperlinking each thumbnail: Kirupa Gallery tutorial

hello all. I just have a question on how to hyperlink each thumbnail. A prevoius post describes what I’d like to do. Here is what was asked

How do I go about adding hyperlinks to the thumbnails in the Kirupa Adding Thumbnails Tutorial. I’m totally stumped. I just want to use the scroller with the thumbnails as links. What do I need to do?


currently I have this for the thumbnails.

target_mc.onRelease = function() { 
getURL(link[p], "_blank");

All this does is show the first link in the xml for all the thumbnails. So I tried this.

target_mc.onRelease = function() { 
getURL(link[p++], "_blank");

this code goes to the next link eventually, but it doesn’t seem to load each corresponding link for each thumbnail as it would for the main image in the gallery.

any help would be appreciated,