# getURL not working with my button

**URL:** <https://forum.kirupa.com/t/geturl-not-working-with-my-button/118458>\
**Category:** Uncategorized\
**Created:** [August 5, 2004, 5:39pm UTC](https://forum.kirupa.com/t/geturl-not-working-with-my-button/118458 "2004-08-05T17:39:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zoemea](https://avatars.discourse-cdn.com/v4/letter/z/54ee81/32.png) [@zoemea](https://forum.kirupa.com/u/zoemea)\
**Post date:** [August 5, 2004, 5:39pm UTC](https://forum.kirupa.com/t/geturl-not-working-with-my-button/118458/1 "2004-08-05T17:39:13Z")

</div>

so I have an awesome animated button that i want to make a link. i’ve been trying to script something like  
mybutton geturl blah blah.  
nothin’ doin’.  
i’m not accessing a remote server yet so everything i’m doing is local. have i managed to make sense of this to anyone? any suggestions?

thanks  
z :moustache

---

<div class="post-metadata">

**Author:** ![berkoWitZ](https://avatars.discourse-cdn.com/v4/letter/b/b9bd4f/32.png) [@berkoWitZ](https://forum.kirupa.com/u/berkoWitZ)\
**Post date:** [August 5, 2004, 5:59pm UTC](https://forum.kirupa.com/t/geturl-not-working-with-my-button/118458/2 "2004-08-05T17:59:37Z")

</div>

use something like this in ur button:

on (release) {  
getURL(“index.htm”);  
}

where “index.htm” is the URL

also make a search on the forums 🙂

---

<div class="post-metadata">

**Author:** ![lunatic](https://avatars.discourse-cdn.com/v4/letter/l/73ab20/32.png) [@lunatic](https://forum.kirupa.com/u/lunatic)\
**Post date:** [August 5, 2004, 6:06pm UTC](https://forum.kirupa.com/t/geturl-not-working-with-my-button/118458/3 "2004-08-05T18:06:12Z")

</div>

And don’t forget that one annoying little thing - when you use getURL you have to put the FULL web address, including the http://

getURL(“[http://www.kirupa.com](http://www.kirupa.com)”, “\_blank”)

or \_parent or \_self or whichever option you want. Look up getURL in the reference.

:hr:
