# FMX advanced buttons (mcs)

**URL:** <https://forum.kirupa.com/t/fmx-advanced-buttons-mcs/27044>\
**Category:** flash\
**Created:** [July 29, 2003, 6:11pm UTC](https://forum.kirupa.com/t/fmx-advanced-buttons-mcs/27044 "2003-07-29T18:11:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![borispc](https://avatars.discourse-cdn.com/v4/letter/b/ac8455/32.png) [@borispc](https://forum.kirupa.com/u/borispc)\
**Post date:** [July 29, 2003, 6:11pm UTC](https://forum.kirupa.com/t/fmx-advanced-buttons-mcs/27044/1 "2003-07-29T18:11:40Z")

</div>

Hi again!  
I’d like to know if there is a way to do the following:  
have a movieclip to act as a button, that is:  
\> have an “over” and “out” states but at the same time have another frame that is used to have an “active” state when clicked.

The problem is the following: since there is a rollOut state defined, when clicked the mc jumps to the active state (frame) but returns to the out state when cursor moved out of it of course…so…how do you have a button with, over, out and active states?

---

<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:** [July 29, 2003, 6:38pm UTC](https://forum.kirupa.com/t/fmx-advanced-buttons-mcs/27044/2 "2003-07-29T18:38:44Z")

</div>

The _cheapest_ way… 😛

**PS.** You don’t like that way? You could modify senocular’s code found here: [http://proto.layer51.com/d.aspx?f=663](http://proto.layer51.com/d.aspx?f=663).

---

<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:** [July 29, 2003, 6:44pm UTC](https://forum.kirupa.com/t/fmx-advanced-buttons-mcs/27044/3 "2003-07-29T18:44:39Z")

</div>

that is just what I meant thanks…I’m just not sure how it works completely…  
where do you define the rollover state???

---

<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:** [July 29, 2003, 6:49pm UTC](https://forum.kirupa.com/t/fmx-advanced-buttons-mcs/27044/4 "2003-07-29T18:49:24Z")

</div>

I’m not defining anything, it’s a simple Button in the first frame of the MovieClip. 😉

That’s why I said it was the cheapest way. 😛

---

<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:** [July 29, 2003, 6:51pm UTC](https://forum.kirupa.com/t/fmx-advanced-buttons-mcs/27044/5 "2003-07-29T18:51:02Z")

</div>

oh I see…thanks anyway…at least works 🙂

---

<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:** [July 29, 2003, 6:53pm UTC](https://forum.kirupa.com/t/fmx-advanced-buttons-mcs/27044/6 "2003-07-29T18:53:21Z")

</div>

No problem. 😛
