# A rolloff button effect

**URL:** <https://forum.kirupa.com/t/a-rolloff-button-effect/5582>\
**Category:** flash\
**Created:** [September 16, 2002, 6:29pm UTC](https://forum.kirupa.com/t/a-rolloff-button-effect/5582 "2002-09-16T18:29:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amiridon](https://avatars.discourse-cdn.com/v4/letter/a/a8b319/32.png) [@Amiridon](https://forum.kirupa.com/u/Amiridon)\
**Post date:** [September 16, 2002, 6:29pm UTC](https://forum.kirupa.com/t/a-rolloff-button-effect/5582/1 "2002-09-16T18:29:48Z")

</div>

I pretty much know how to create and effect for when I roll over a button, for example (making the button rise slowly on a rollover) what I don’t know how to do is make that button return to the original state with the same effect, lowering slowly  
(without just appearing there)

---

<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:** [September 16, 2002, 7:02pm UTC](https://forum.kirupa.com/t/a-rolloff-button-effect/5582/2 "2002-09-16T19:02:58Z")

</div>

You need to have an animation for the up and the down. You will also need a variable to monitor whether the full effect of up has been reached, and also when the mouse is off, then to play the down animation. I’ll try and post a fla as soon as I’m free - that is, as long as no one’s already helped you by then.
