# getURL problem

**URL:** <https://forum.kirupa.com/t/geturl-problem/219406>\
**Category:** Uncategorized\
**Created:** [March 16, 2007, 8:56am UTC](https://forum.kirupa.com/t/geturl-problem/219406 "2007-03-16T08:56:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anck](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@Anck](https://forum.kirupa.com/u/Anck)\
**Post date:** [March 16, 2007, 8:56am UTC](https://forum.kirupa.com/t/geturl-problem/219406/1 "2007-03-16T08:56:28Z")

</div>

Hi,

I am trying to make a menu for a webpage, but when I press first button, the same page in the geturl function it’s opened two times instead of one. (same hapens with other buttons also).

Here it is the code I used, button1 is the one I’m clicking for opening the url:

button1.onPress = pressed;

function pressed()  
{  
geturl(“webpage.html”);  
}

Does anyone have any idea what may cause this?  
Thank you very much in advance for your help. I’m beginner and couldn’t find yet a solution.

For more details:

```auto
http://www.ihud.com/file.php?file=files/160307/1174035466/buttons2.swf

```
