# Problem using Kirupas complex button

**URL:** https://forum.kirupa.com/t/problem-using-kirupas-complex-button/172204
**Category:** flash
**Created:** [December 12, 2005, 2:12pm UTC](https://forum.kirupa.com/t/problem-using-kirupas-complex-button/172204 "2005-12-12T14:12:02Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jul](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jul](https://forum.kirupa.com/u/jul)
#### Post date: [December 12, 2005, 2:12pm UTC](https://forum.kirupa.com/t/problem-using-kirupas-complex-button/172204/1 "2005-12-12T14:12:02Z")

</div>

Hi, i’m trying to make those complex buttons work, the AS is:  
[size=2][font=Arial]  
[/font][/size]

```auto
//stop();
 
this.onEnterFrame = function(){

if(rewind == true){

prevFrame();

}

}
 
this.onRollOver = function(){

rewind = false;
play();

}
 
this.onRollOut = function(){

rewind = true;

}
 
this.onRelease = function(){

getURL("http://www.kirupa.com","_blank");

}

```

[font=Arial][size=2]  
[/size][/font]

[font=Arial][size=2] It all works fine but instead of giving the button the getURL I just want to give it a GoToAndPlay. Here is where the problem is: I can’t get the GoToAndPlay work for the main movie but only for the button movie. Help, anyone? I’d appreciate it.  
[/size][/font]
