Xml thumbnail gallery issue

Hi…I posted this already in Flash CS3 forum but didn’t get any replies. Maybe someone here can help… I’ve gotta have this finished by Thursday night.

I’ve got a website with three links to three different thumbnail galleries. When I click the link to a gallery that has a lesser number of thumbnails, it fills the difference in numbers in with thumbnails from the previous gallery. If anyone knows ANY reason why this might be happening, I would GREATLY appreciate your help. Thanks so much!