XML: Thumbnails Tutorial problem

I am trying to do is add different galleries under the same xml file. I am able to achive that but for some reason if the previous gallery has more thumbnails than the next one it wont reload the thumbnails and it will keep the same old ones on there.

function updateImage () {
 image = [];
 description = [];
 thumbnails = [];
 total = xmlNode.childNodes.length;
 for (i = 0; i < total; i++) {
  image* = xmlNode.childNodes*.attributes.image;
  thumbnails* = xmlNode.childNodes*.attributes.thumb;
  description* = xmlNode.childNodes*.attributes.description;
  thumbnails_fn (i);
 }
 firstImage ();
}
///////
next_party.onRelease = function () {
 xmlNode = xmlNode.nextSibling;
 if (i < (currentIndex - 1)) {
  i++;
  break;
 } else {
  updateImage (xmlNode);
  currentIndex++;
  xmlNode = currentIndex;
  picture_num ();
 }
};
next_party.onEnterFrame = function () {
 if (xmlNode == null) {
  next_party._visible = false;
 } else {
  next_party._visible = true;
 }
};
//
prev_party.onRelease = function () {
 xmlNode = xmlNode.previousSibling
 if (i >(currentIndex - 1)) {
  i--;
  break;
 } else {
  updateImage (xmlNode);
  currentIndex++;
  xmlNode = currentIndex;
  picture_num ();
 }
};

Does anyone know how to do this?

how advanced are you with as,im having the same kinda probs,you have messenger msn or something let me know we could help each other plus i have some video tutorials that might help us!

Adam;-)

I am not that advanced. But I can get around it. Send me a PM and we will talk …

you got msn meessenger?

Does anyone know how I can refresh or reload the thumbnails!

I am trying to unload and reload the new thumbnails. I have looked under all the other post on this website but I have not come across one that has either solved the issue or has the same excat problem. Someone please help I have been trying to figure this out for 2 weeks now.:tired: