# onClipEvent and on (release) not working together?

**URL:** <https://forum.kirupa.com/t/onclipevent-and-on-release-not-working-together/143969>\
**Category:** Uncategorized\
**Created:** [April 10, 2005, 3:59pm UTC](https://forum.kirupa.com/t/onclipevent-and-on-release-not-working-together/143969 "2005-04-10T15:59:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wickedBoy](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/wickedboy/32/1100_2.png) [@wickedBoy](https://forum.kirupa.com/u/wickedBoy)\
**Post date:** [April 10, 2005, 3:59pm UTC](https://forum.kirupa.com/t/onclipevent-and-on-release-not-working-together/143969/1 "2005-04-10T15:59:39Z")

</div>

I’ve got an MC which acts like a button that comes onto the stage on frame 1. I want users to be able to press the MC so that a) it goes slides to x = 800, which I’ve managed to do… and b)goes to frame “start”.Any idea why it doesn’t move onto frame start after pressing the MC?

```auto

on (release) {
gotoAndPlay("start");
}

onClipEvent (load) {
        new_x = 170;
}
onClipEvent (enterFrame) {
        this._x -= (_x-new_x)*0.5;
}
onClipEvent (mouseDown) {
        new_x = 800;
}

```
