# Please Help!

**URL:** <https://forum.kirupa.com/t/please-help/264165>\
**Category:** Uncategorized\
**Created:** [June 23, 2008, 6:02pm UTC](https://forum.kirupa.com/t/please-help/264165 "2008-06-23T18:02:06Z")\
**Posts on this page:** 2\
**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 23, 2008, 6:02pm UTC](https://forum.kirupa.com/t/please-help/264165/1 "2008-06-23T18:02:06Z")

</div>

hey guys.

Please help me; I cannot figure out how to do this in Actionscript 3.0:

Using **movie clip buttons** , how do you get the button to stay in the “mouse over” state after it has been clicked? I do not want the button to do anything at all after it is clicked.

I found this online and it works perfectly for actionscript 2.0 but i need it in 3.0. anyone know how to do this in 3.0?

```auto
MovieClip.prototype.checkMe = function() {
    if (this._currentframe == 2) {
        this.btn.enabled = true;
        this.gotoAndStop(1);
    }
};
btn_mc1.btn.onRelease = function() {
           btn_mc1.btn.enabled = false;
    btn_mc2.checkMe();
    btn_mc3.checkMe();
};
btn_mc2.btn.onRelease = function() {
    btn_mc2.btn.enabled = false;
    btn_mc1.checkMe();
    btn_mc3.checkMe();
};
btn_mc3.btn.onRelease = function() {
    btn_mc3.btn.enabled = false;
    btn_mc2.checkMe();
    btn_mc1.checkMe();
};

```

Please help and THANK YOU

---

<div class="post-metadata">

**Author:** ![Lachhh](https://avatars.discourse-cdn.com/v4/letter/l/f0a364/32.png) [@Lachhh](https://forum.kirupa.com/u/Lachhh)\
**Post date:** [June 26, 2008, 2:12pm UTC](https://forum.kirupa.com/t/please-help/264165/2 "2008-06-26T14:12:19Z")

</div>

The onReleasem onEnterFrame, onPress are now made by event listener. You now need to make

function MyPressfct(pEvent:MouseEvent) {  
//Do stuff  
}

myBtn.addEventListener(MouseEvent.MOUSE\_CLICK, MyPressfct);

Lachhh
