XML Gallery-links from thumbnails?


I’ve used the great tutorial published here on Xml advanced gallery, remastered it and this is what i’m looking for:
i have 6 thumbnails,dynamically loaded from an xml file, each should have a link to loading a movie clip on the stage instead of them (it’s like having 6 different menus). what i thought about is adding paths in the xml file but i don’t know how to write (in flash) the function for each thumbnail to call the link on press, just as they call an image to stage.
i’d really appreciate your advice guys!