# Movie Clip Button - PLEASE HELP!

**URL:** <https://forum.kirupa.com/t/movie-clip-button-please-help/254877>\
**Category:** flash\
**Created:** [March 16, 2008, 8:21pm UTC](https://forum.kirupa.com/t/movie-clip-button-please-help/254877 "2008-03-16T20:21:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![GiveMeCoffee](https://avatars.discourse-cdn.com/v4/letter/g/df705f/32.png) [@GiveMeCoffee](https://forum.kirupa.com/u/GiveMeCoffee)\
**Post date:** [March 16, 2008, 8:21pm UTC](https://forum.kirupa.com/t/movie-clip-button-please-help/254877/1 "2008-03-16T20:21:07Z")

</div>

I have a movie clip that I want to act as a button. All the states (on, over, etc) all work properly with the following code in the main timeline:

* * *

this.portfolio\_button.onRollOver = function () {  
portfolio\_button.gotoAndPlay("\_over");  
}

this.portfolio\_button.onRollOut = function () {  
portfolio\_button.gotoAndPlay("\_out");  
}

* * *

The problem is that I cannot get this ‘movie clip button’ to goto and play a frame…  
This is the code I’m using for that:

on (release) {  
gotoAndPlay(“Label”);  
}

I’ve even tried to place a button inside the movie clip button and placed this code on it:  
on (release) {  
\_root.gotoAndStop(“Label”);  
}

Can somebody please let me know what I’m doing wrong?

Thanks in advance.
