Xml gallery help

Hi everyone, I am working on creating a portfolio website and i have a (hopefully) simple question. I am currently using an xml gallery, http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm and it’s great. My question is, when you hit the end of the images is there a way to make the ‘next’ button disappear or lower it’s alpha percentage? Same with the ‘previous’ button. I have been getting feedback that it’s a bit misdirecting and some think that the site is broken. If anyone can offer any help, or this question has been answered in another thread, can someone point me in the right direction? Thanks!