# Alpha and Fade with ActionScript

**URL:** <https://forum.kirupa.com/t/alpha-and-fade-with-actionscript/19707>\
**Category:** flash\
**Created:** [April 30, 2003, 6:57pm UTC](https://forum.kirupa.com/t/alpha-and-fade-with-actionscript/19707 "2003-04-30T18:57:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neuhaus3000](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/neuhaus3000/32/168_2.png) [@Neuhaus3000](https://forum.kirupa.com/u/Neuhaus3000)\
**Post date:** [April 30, 2003, 6:57pm UTC](https://forum.kirupa.com/t/alpha-and-fade-with-actionscript/19707/1 "2003-04-30T18:57:39Z")

</div>

Hello Dudes and Dudettes,

Here’s one for you… :beam:

I have 6 buttons in a movie.  
1, 2, 3, 4, 5 and 6.  
Nothing too complicated so far.  
I also have 6 background images  
that I want to associate with each button.

When I click on a button, let’s say #3, I want this to happen :

- the current background fades out while background #3  
fades in.  
If I click on button #5, the background #3 has to fade out  
while background #5 fade in… and so on.

Any ideas would be truly appreciated.

Neuhaus3000

---

<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:** [April 30, 2003, 7:01pm UTC](https://forum.kirupa.com/t/alpha-and-fade-with-actionscript/19707/2 "2003-04-30T19:01:04Z")

</div>

You can do it using a method shown on this thread, there’s a sample FLA posted by Sorcerer that will give you an idea.

[http://www.kirupaforum.com/forums/showthread.php?s=&threadid=9686&highlight=transitions](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=9686&highlight=transitions)

---

<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:** [April 30, 2003, 7:06pm UTC](https://forum.kirupa.com/t/alpha-and-fade-with-actionscript/19707/3 "2003-04-30T19:06:32Z")

</div>

Hey electrongeek,

Thanks for the tip! 🙂

Neuhaus3000
