# Button & movieclip problem

**URL:** https://forum.kirupa.com/t/button-movieclip-problem/253910
**Category:** flash
**Created:** [March 6, 2008, 12:15pm UTC](https://forum.kirupa.com/t/button-movieclip-problem/253910 "2008-03-06T12:15:57Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![goeiste](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/goeiste/32/2741_2.png) [@goeiste](https://forum.kirupa.com/u/goeiste)
#### Post date: [March 6, 2008, 12:15pm UTC](https://forum.kirupa.com/t/button-movieclip-problem/253910/1 "2008-03-06T12:15:57Z")

</div>

Hella all,

I have a prblem with a movieclip that i would like to function as a button. If I just use the movieclip as a button, nothing happens. If I transform this movieclip in a button also nothing happens. But when I remove the movieclip from the button I just created it suddenly works (if i just use hit).

So my question is: why does the code not work in combination with the movieclip???

I proejcted the code directly on the movieclip, and in a later stage on the button. The code is nothing fancy but here it is:

```auto
on(press){
    _parent.object.one.gotoAndStop("two");
}

```
