As3 xml gallery

Hey all,

I’m coding an xml gallery with thumbnails. Ive set a container for the thumbs and for the main image. when user clicks on a thumb it loads the larger image. Preloaders are done all is well however when the user clicks on a nother thumb it just loads in the image over the last one. How can I cause it to delete the currently displayed image and then load the new one.

would :- removeChild work or do I need to use .unload on the loader?

I’m confused I think I’ve been on this too long.

Any help would be greatly appreciated.

Or if you know of any good AS3 XML thumbnail/gallery tutorials that could help.

Cheers
Webs1nner :slight_smile: