I have recently done the tutorial “Photo Gallery Using XML and Flash” which shows you how to build a single gallery. But I have multiple buttons refering to multiple galleries that I would like to display in the same frame (all buttons/galleries using the same movie clip holder, dynamic text box, arrows etc).
The way I solved it was to make the 12 buttons, and then have them go to the frame (using the script: on (release) {gotoAndStop(framename);}) which had the actionscript for that gallery in it, together with the textfield, movieclip, arrows, preloader etc. This worked fine, but it’s a lot of work updating the site. It would be better to have all buttons display the different galleries through the same elements.
Here’s an attachment of how I have currently built the site:
And here’s the link to the site in action: www.viktig.no
I have tried to take the script found here on the tuturial:
http://www.kirupa.com/developer/mx2004/xml_flash_photogallery2.htm
and paste it directly into the action of the button, but this obviously does not work…