# Photo Gallery Using XML and Flash CrossFade

**URL:** <https://forum.kirupa.com/t/photo-gallery-using-xml-and-flash-crossfade/257843>\
**Category:** flash\
**Created:** [April 17, 2008, 4:29pm UTC](https://forum.kirupa.com/t/photo-gallery-using-xml-and-flash-crossfade/257843 "2008-04-17T16:29:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![robbyd](https://avatars.discourse-cdn.com/v4/letter/r/5e9695/32.png) [@robbyd](https://forum.kirupa.com/u/robbyd)\
**Post date:** [April 17, 2008, 4:29pm UTC](https://forum.kirupa.com/t/photo-gallery-using-xml-and-flash-crossfade/257843/1 "2008-04-17T16:29:05Z")

</div>

Hi all, I recently completed the [SIZE=2][COLOR=Black][FONT=Verdana]Photo Gallery[/FONT][/COLOR][/SIZE][FONT=Verdana][SIZE=2][COLOR=Black] Using XML and Flash tutorial and was wondering how I would modify nextImage() and prevImage() so that the images would crossfade. Currently when an image fades in and alpha reaches 100 that image is set to alpha = 0, and a new image fades in. I would like to fade out an image as another image is faded in. Thanks for the help.  
[/COLOR][/SIZE][/FONT]
