# Make a Button Stay in the Down State When Clicked

**URL:** <https://forum.kirupa.com/t/make-a-button-stay-in-the-down-state-when-clicked/264056>\
**Category:** flash\
**Created:** [June 22, 2008, 7:35pm UTC](https://forum.kirupa.com/t/make-a-button-stay-in-the-down-state-when-clicked/264056 "2008-06-22T19:35:49Z")\
**Posts on this page:** 3\
**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:35pm UTC](https://forum.kirupa.com/t/make-a-button-stay-in-the-down-state-when-clicked/264056/1 "2008-06-22T19:35:49Z")

</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:** ![dail](https://avatars.discourse-cdn.com/v4/letter/d/82dd89/32.png) [@dail](https://forum.kirupa.com/u/dail)\
**Post date:** [June 22, 2008, 8:13pm UTC](https://forum.kirupa.com/t/make-a-button-stay-in-the-down-state-when-clicked/264056/2 "2008-06-22T20:13:11Z")

</div>

yourButtonInstanceName.setMouseState(“down”)

Thats if you are using a button component.

---

<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:27pm UTC](https://forum.kirupa.com/t/make-a-button-stay-in-the-down-state-when-clicked/264056/3 "2008-06-22T20:27:13Z")

</div>

That did not work.

got error:

1061: Call to a possibly undefined method setMouseState through a reference with static type flash.display:SimpleButton.

I do not know what that means. I am new to flash.

Thanks
