FLash / XML photo gallery question

In the new tutorial by kirup, the flash / xml photogallery…you can pan back and forth between the images with the prev / next buttons…

What i’m wondering is how to target a pic and description with a button, like button1 goes the the first pic/description, button2 goes to the second pic/desc…Like what would be the script for each individual button?