Question regarding tutorial 'Photo Gallery Using XML and Flash'

http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm

I found the above tutorial to be very useful and very easy to follow (which was a blessing for me as I am new to Flash and quite intimidated by it).

I would like to extend this tutorial to achieve another requirement but I am not sure if it is possible.

Please review the following concept and let me know if this is possible:
In the tutorial the images and corresponding text is displayed dynamically based on an XML file. I would like to add a link ‘More Info’ movie clip to the interface which a user can click to get a page dedicated to that item. In other words, I would like a dynamic URL to be read from the XML and associated with the ‘More Info’ movie clip. I can get the URL read from the XML and stored into an array but I don’t know where or how to pass it so that the ‘More Info’ clip would contain it as a link.

Any assistance is appreciated

erm look at the code in the tut, the answer would be obvious,

I am starting to wonder why you even post - you obviously have no answer for this person.

jebrand,
I would make a movieclip and give it the instance name of ‘info_bttn.’ Then, in your actions layer with all the other actions, do something like this:


info_bttn.onRelease = function(){
      getURL(link*+", _blank");
}

This is assuming you are putting the url into an array named ‘link’. Cheers!

I agree with Project107 about randomagain. Why post if you have nothing useful to say?

Jebrand, you need a simple function for your button that access the variable ‘p’ which the tutorial uses to increment through the arrays. The ‘i’ variable is initially used in the loop and won’t do us any good since the ‘p’ variable changes as the user flips through pictures.

just change the ‘i’ to ‘p’ in Project 107’s code and reference your array.