Kirupa's PhotoGallery...thumbs instead of back/forward buttons?

I’ve searched and have been unable to find a solution…

In reference to Kirupa’s PhotoGallery tutorial, what I’m trying to do is use thumbnail images for the buttons to call the .jpgs in the array, rather than simply “forward” and “backward” buttons. However, the button code doesn’t seem to handle the photo path, i.e.


on (release) {
	_root.changePhoto(myPhoto.jpg);	
}

doesn’t do what I want. Any suggestions?