# Flash Photogallery

**URL:** <https://forum.kirupa.com/t/flash-photogallery/244368>\
**Category:** Uncategorized\
**Created:** [November 16, 2007, 8:48pm UTC](https://forum.kirupa.com/t/flash-photogallery/244368 "2007-11-16T20:48:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![slghtlyoff](https://avatars.discourse-cdn.com/v4/letter/s/f14d63/32.png) [@slghtlyoff](https://forum.kirupa.com/u/slghtlyoff)\
**Post date:** [November 16, 2007, 8:48pm UTC](https://forum.kirupa.com/t/flash-photogallery/244368/1 "2007-11-16T20:48:45Z")

</div>

I was following and learning a great deal from the Flash/XML Gallery by Kirupa - I have it working at for the most part the coding makes sense.

I have one little issue though. I’m trying to fade out the images.  
In the code,

```auto
picture._alpha = 0; 

```

sets the image to 0, but i figured if i wanted to fade it out, i would need something like this:

```auto
if (picture._alpha>0) { 
picture._alpha -= 10; 
} 

```

this doesn’t work. I’ve put it multiple places in the code, including in place of

```auto
picture._alpha = 0; 

```

but I can’t get it to fade. Any ideas?

Thanks for your help and the resources!
