# Advanced as3 buttons

**URL:** <https://forum.kirupa.com/t/advanced-as3-buttons/304306>\
**Category:** flash\
**Created:** [February 5, 2010, 6:36am UTC](https://forum.kirupa.com/t/advanced-as3-buttons/304306 "2010-02-05T06:36:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Danief](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Danief](https://forum.kirupa.com/u/Danief)\
**Post date:** [February 5, 2010, 6:36am UTC](https://forum.kirupa.com/t/advanced-as3-buttons/304306/1 "2010-02-05T06:36:42Z")

</div>

Okay. I have a button that looks like this: [http://www.swfcabin.com/open/1265348657](http://www.swfcabin.com/open/1265348657)

so when you rollover, it plays an animation, and when you rollout, it plays the exit animation.

And if you rollout before the the enter animation is over, it will jump straight to the exit animation.

the swf right there works perfectly, exactly how i want it, so i popped it in as2 and it will not function, so I decided to come here, I need to know how to do this is as3. how can i make this work in cs3? Thank you.
