# Fade in/out of pictures using as

**URL:** <https://forum.kirupa.com/t/fade-in-out-of-pictures-using-as/21924>\
**Category:** flash\
**Created:** [May 28, 2003, 1:01am UTC](https://forum.kirupa.com/t/fade-in-out-of-pictures-using-as/21924 "2003-05-28T01:01:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tome](https://avatars.discourse-cdn.com/v4/letter/t/e56c9b/32.png) [@tome](https://forum.kirupa.com/u/tome)\
**Post date:** [May 28, 2003, 1:01am UTC](https://forum.kirupa.com/t/fade-in-out-of-pictures-using-as/21924/1 "2003-05-28T01:01:28Z")

</div>

Hi,

I’m creating a website and I want the background to change when the user presses a different button. I’ve been trying to create this effect but haven’t been able to yet. I used the post here and built from there, [http://www.kirupaforum.com/forums/showthread.php?s=&threadid=23275&highlight=alpha+fade](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=23275&highlight=alpha+fade). I had it working with two images and two buttons but adding the third kind of messed everything up. I’ve attached the fla, if anyone wants to take a look at it since I haven’t really explained what I’m trying to do besides the end result.

Thanks

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 28, 2003, 9:43am UTC](https://forum.kirupa.com/t/fade-in-out-of-pictures-using-as/21924/2 "2003-05-28T09:43:08Z")

</div>

i don’t have time to look at the code but this is how i have solved a similar fading problem…  
[http://oddin.adv.ro/edited.zip](http://oddin.adv.ro/edited.zip)
