# Advice on smooth-fading, button triggered images

**URL:** <https://forum.kirupa.com/t/advice-on-smooth-fading-button-triggered-images/81764>\
**Category:** flash\
**Created:** [March 4, 2005, 7:52pm UTC](https://forum.kirupa.com/t/advice-on-smooth-fading-button-triggered-images/81764 "2005-03-04T19:52:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Psaldorn](https://avatars.discourse-cdn.com/v4/letter/p/22d042/32.png) [@Psaldorn](https://forum.kirupa.com/u/Psaldorn)\
**Post date:** [March 4, 2005, 7:52pm UTC](https://forum.kirupa.com/t/advice-on-smooth-fading-button-triggered-images/81764/1 "2005-03-04T19:52:35Z")

</div>

Hi,

I’m going after an effect that when the user moves over a button a logo slowly fades into the background, then when the move over another button a different logo.

I could manage that all fine but the problem I forsee is not being able to make it smooth, i.e. If the users brings up image1, then quickly brings up image2, if I use dragOut/rollOut to link to the ‘fading out’ section of tweening it will abruptly cut from being 50% alpha’d in to being 100% and then fading out.

Clearly the answer lies in code not using predefined animations (although I can think of ways to do that)

So I need a bit of guidance as to what commands etc to use, I’ve had a look at some tutorials that look helpful but sorting what I need and what I don’t is a bit tricky.

mouseOver button1 -\> (Image One) fades in

mouseOver button2 -\> (Image One) fades OUT, but from the \_alpha it had currently reached while (Image Two) alphas in from zero

There are other butons also

Thanks in advance for any help

- Psaldorn
