# Changing Color from Different Buttons

**URL:** <https://forum.kirupa.com/t/changing-color-from-different-buttons/183048>\
**Category:** flash\
**Created:** [March 23, 2006, 10:53am UTC](https://forum.kirupa.com/t/changing-color-from-different-buttons/183048 "2006-03-23T10:53:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kiwiupover](https://avatars.discourse-cdn.com/v4/letter/k/96bed5/32.png) [@kiwiupover](https://forum.kirupa.com/u/kiwiupover)\
**Post date:** [March 23, 2006, 10:53am UTC](https://forum.kirupa.com/t/changing-color-from-different-buttons/183048/1 "2006-03-23T10:53:34Z")

</div>

I have been working on a site for days now and I can’t work it out.

I want to fade a background box from the color it is to a new color after a button is pushed. I would like it to fade over time my be a second. Am I making sense.

kiwiupover.

---

<div class="post-metadata">

**Author:** ![Pascal\_S](https://avatars.discourse-cdn.com/v4/letter/p/f6c823/32.png) [@Pascal\_S](https://forum.kirupa.com/u/Pascal_S)\
**Post date:** [March 23, 2006, 11:04am UTC](https://forum.kirupa.com/t/changing-color-from-different-buttons/183048/2 "2006-03-23T11:04:17Z")

</div>

with AS --\> [http://www.kirupa.com/forum/showthread.php?t=210435](http://www.kirupa.com/forum/showthread.php?t=210435)

you can use parts of the code there to get it to work!

you can also make a movieclip from the background box with a color tween in it and when you push a button the movieclip of the background box starts to play.
