# Problem with button tutorial :(

**URL:** <https://forum.kirupa.com/t/problem-with-button-tutorial/150423>\
**Category:** Uncategorized\
**Created:** [June 7, 2005, 2:45pm UTC](https://forum.kirupa.com/t/problem-with-button-tutorial/150423 "2005-06-07T14:45:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Phantom\_Lord1](https://avatars.discourse-cdn.com/v4/letter/p/eada6e/32.png) [@Phantom\_Lord1](https://forum.kirupa.com/u/Phantom_Lord1)\
**Post date:** [June 7, 2005, 2:45pm UTC](https://forum.kirupa.com/t/problem-with-button-tutorial/150423/1 "2005-06-07T14:45:22Z")

</div>

Hello guys,  
I’m doing a site and want to add more complex buttons to it.  
I did this tut [http://www.kirupa.com/developer/mx2004/button\_effect.htm](http://www.kirupa.com/developer/mx2004/button_effect.htm)  
The problem is that the button will work with the “getURL” function but it will not work with the"gotoAndStop" function…  
At the end of the code  
this.onRelease = function(){  
getURL(“[http://www.kirupa.com](http://www.kirupa.com)”,"\_blank");  
}  
Can anyone tell me why ?  
From what I know it should work…  
The code I’m using  
this.onRelease = function(){  
gotoAndStop(“main”,1);  
}  
Please help…  
Thanx in advance 🙂
