# AS: problem wif button inside a movieclip

**URL:** https://forum.kirupa.com/t/as-problem-wif-button-inside-a-movieclip/167182
**Category:** flash
**Created:** [October 26, 2005, 3:37am UTC](https://forum.kirupa.com/t/as-problem-wif-button-inside-a-movieclip/167182 "2005-10-26T03:37:29Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![rance](https://avatars.discourse-cdn.com/v4/letter/r/c2a13f/32.png) [@rance](https://forum.kirupa.com/u/rance)
#### Post date: [October 26, 2005, 3:37am UTC](https://forum.kirupa.com/t/as-problem-wif-button-inside-a-movieclip/167182/1 "2005-10-26T03:37:29Z")

</div>

I’m not very sure how to go about programming the Actionscript for the button.  
But i want the button to be able to play the main frame instead of playing inside the movieclip. How do i make it loop out of the movieclip and play my main frame?

```auto

on (release) {
 gotoAndPlay("scene 1","70");
}

```

the coding above for my case doesnt work. help pls?
