# Thumbnail Gallery Trouble

**URL:** <https://forum.kirupa.com/t/thumbnail-gallery-trouble/223694>\
**Category:** flash\
**Created:** [April 25, 2007, 12:40am UTC](https://forum.kirupa.com/t/thumbnail-gallery-trouble/223694 "2007-04-25T00:40:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![adrianwilcox](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@adrianwilcox](https://forum.kirupa.com/u/adrianwilcox)\
**Post date:** [April 25, 2007, 12:40am UTC](https://forum.kirupa.com/t/thumbnail-gallery-trouble/223694/1 "2007-04-25T00:40:17Z")

</div>

I created a gallery using the tutorial located here:

[Thumbnail Tutorial](http://www.kirupa.com/developer/mx2004/thumbnails.htm)

Here is the gallery I created:  
[jacqueline kimberly collection](http://www.jacquelinekimberly.com/gallery/muchado/index.php)

I modified it by adding the ability to call separate XML files based on a selection made at the bottom to show just earings or just necklaces from the collection. Everything works fine except, I need to find a way to clear the thumbnails each time the new xml is loaded.

For example, if a collection has 10 images, and I open another collection with 2 images, the two images load over the top of the old 10, but the remaining 8 thumbnails from the previous XML load remain. Is there a way to clear the old instance of the tscroller? Any Ideas?
