Quick photoGallery question!

Hi all!!

i’ve made a photo gallery based on the script http://www.kirupa.com/developer/mx/photogallery.htm

the gallery works perfecty!!!

now, the thing is that when i load gallery.swf into the main.swf it does load the first picture, but when i click on the ‘next’ button it opens output panel with NaN message!! it’s like it doesn’t recognize the actions for buttons…

has anyone a clue what should i do??

thanks