# Button functions not working

**URL:** https://forum.kirupa.com/t/button-functions-not-working/200746
**Category:** Uncategorized
**Created:** [September 14, 2006, 7:07pm UTC](https://forum.kirupa.com/t/button-functions-not-working/200746 "2006-09-14T19:07:55Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mr\_vai](https://avatars.discourse-cdn.com/v4/letter/m/3bc359/32.png) [@mr\_vai](https://forum.kirupa.com/u/mr_vai)
#### Post date: [September 14, 2006, 7:07pm UTC](https://forum.kirupa.com/t/button-functions-not-working/200746/1 "2006-09-14T19:07:55Z")

</div>

hi, i have a lil problem with making button functions to work on a mc within a mc…

**i have this on my outer mc:**

```auto

onClipEvent (enterFrame) {
    this.onRollOver = function() {
        this.gotoAndPlay("Over");
        _root.OverSound.start();
    };
    this.onRollOut = function() {
        this.gotoAndPlay("Out");
    };
}

```

\*\*  
and inside that mc i have another mc that supposed to do that:  
\*\*

```auto

onClipEvent (enterFrame) {
        _root.ClickSound.start();
        trace("btn1");
        getURL("http://www.google.com");
}

```

i tried with on (Release){  
and that doesnt work either…any ideas anyone?
