# Make a Button Stay in the Roll Over State When Clicked

**URL:** <https://forum.kirupa.com/t/make-a-button-stay-in-the-roll-over-state-when-clicked/264057>\
**Category:** flash\
**Created:** [June 22, 2008, 7:38pm UTC](https://forum.kirupa.com/t/make-a-button-stay-in-the-roll-over-state-when-clicked/264057 "2008-06-22T19:38:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![s0undsystem](https://avatars.discourse-cdn.com/v4/letter/s/e480ec/32.png) [@s0undsystem](https://forum.kirupa.com/u/s0undsystem)\
**Post date:** [June 22, 2008, 7:38pm UTC](https://forum.kirupa.com/t/make-a-button-stay-in-the-roll-over-state-when-clicked/264057/1 "2008-06-22T19:38:04Z")

</div>

Hi everyone,  
Does anyone know how to make a button stay in the down position in CS3, Actionscript 3.0?

I have 3 buttons, each with the same roll over state. What I’d like to do is when the button is clicked, it remains in the roll over state until something else happens.

Thanks!!!

---

<div class="post-metadata">

**Author:** ![Robert\_Payne](https://avatars.discourse-cdn.com/v4/letter/r/6bbea6/32.png) [@Robert\_Payne](https://forum.kirupa.com/u/Robert_Payne)\
**Post date:** [June 22, 2008, 8:07pm UTC](https://forum.kirupa.com/t/make-a-button-stay-in-the-roll-over-state-when-clicked/264057/2 "2008-06-22T20:07:47Z")

</div>

The only way to do this is to set buttonMode = false and listen in on the vents and manage the timeline yourself.

---

<div class="post-metadata">

**Author:** ![s0undsystem](https://avatars.discourse-cdn.com/v4/letter/s/e480ec/32.png) [@s0undsystem](https://forum.kirupa.com/u/s0undsystem)\
**Post date:** [June 22, 2008, 8:35pm UTC](https://forum.kirupa.com/t/make-a-button-stay-in-the-roll-over-state-when-clicked/264057/3 "2008-06-22T20:35:57Z")

</div>

I am new to flash and do not really understand what you mean by your comment. if you could explain a little more it would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![Robert\_Payne](https://avatars.discourse-cdn.com/v4/letter/r/6bbea6/32.png) [@Robert\_Payne](https://forum.kirupa.com/u/Robert_Payne)\
**Post date:** [June 22, 2008, 8:56pm UTC](https://forum.kirupa.com/t/make-a-button-stay-in-the-roll-over-state-when-clicked/264057/4 "2008-06-22T20:56:58Z")

</div>

First off are you doing something similar to:

```auto

btn.buttonMode = true; // setting button mode

```

And the btn has the \_up, \_over, \_down labels?

---

<div class="post-metadata">

**Author:** ![s0undsystem](https://avatars.discourse-cdn.com/v4/letter/s/e480ec/32.png) [@s0undsystem](https://forum.kirupa.com/u/s0undsystem)\
**Post date:** [June 22, 2008, 9:09pm UTC](https://forum.kirupa.com/t/make-a-button-stay-in-the-roll-over-state-when-clicked/264057/5 "2008-06-22T21:09:14Z")

</div>

yes. the btn has the up, over, down labels. now what?
