# Multiple On Release actions?

**URL:** <https://forum.kirupa.com/t/multiple-on-release-actions/209862>\
**Category:** flash\
**Created:** [December 12, 2006, 10:18pm UTC](https://forum.kirupa.com/t/multiple-on-release-actions/209862 "2006-12-12T22:18:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ToyBox](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/toybox/32/3090_2.png) [@ToyBox](https://forum.kirupa.com/u/ToyBox)\
**Post date:** [December 12, 2006, 10:18pm UTC](https://forum.kirupa.com/t/multiple-on-release-actions/209862/1 "2006-12-12T22:18:30Z")

</div>

I am not too sure if this is advanced or not. Probably something that is obvious but I can’t figure it out for the life of me. This is more of animation question I think than anything…

So I have 4 size buttons like so:

S | M | L | XL

Now when a user rolls their mouse over each hit target(size) I have some frame animations that make a box come over and an opposite animation for when they roll out… pretty easy

but now when the user **clicks** a button I am having problems.

Ideally I would love to have it so when the user clicks a button the box stays around the button and then if the user were to click a different button it would play the out animation of what was selected before and then the begining animation for the button hit now.

So if I clicked the button “S” and then decided to click the button “L” it would play the out for “S” and then play the in animation for “L”

I would appreciate any sort of advice. I am a timeline kind of guy obviously ;).

Thanks so much!
