# XML Gallery: Fade Out image before loading next

**URL:** <https://forum.kirupa.com/t/xml-gallery-fade-out-image-before-loading-next/163186>\
**Category:** flash\
**Created:** [September 20, 2005, 3:33pm UTC](https://forum.kirupa.com/t/xml-gallery-fade-out-image-before-loading-next/163186 "2005-09-20T15:33:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DESIGN\_GEEZER](https://avatars.discourse-cdn.com/v4/letter/d/da6949/32.png) [@DESIGN\_GEEZER](https://forum.kirupa.com/u/DESIGN_GEEZER)\
**Post date:** [September 20, 2005, 3:33pm UTC](https://forum.kirupa.com/t/xml-gallery-fade-out-image-before-loading-next/163186/1 "2005-09-20T15:33:35Z")

</div>

How can I fade out the last image before calling the preloader for the next. I don’t like the way the current XML gallery (originally a kirupa tut) simply unloads the current image before calling the preloader for the new picture.

I’d like everything to fade in and out nicely.

Please see the attched ZIP file (the gallery is of my cat Gizmo if the name of the ZIP is confusing).

Thanks to anyone that can provide an answer or point me in the right direction!

[http://www.designgeezer.com/kirupa/gizmo.zip](http://www.designgeezer.com/kirupa/gizmo.zip)
