# Hyperlink-getURL problem

**URL:** https://forum.kirupa.com/t/hyperlink-geturl-problem/5339
**Category:** Uncategorized
**Created:** [September 8, 2002, 8:04am UTC](https://forum.kirupa.com/t/hyperlink-geturl-problem/5339 "2002-09-08T08:04:32Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![roy](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@roy](https://forum.kirupa.com/u/roy)
#### Post date: [September 8, 2002, 8:04am UTC](https://forum.kirupa.com/t/hyperlink-geturl-problem/5339/1 "2002-09-08T08:04:32Z")

</div>

i am trying to make a link e.g. [www.cnet.com](http://www.cnet.com)

but whenever i make the link it tries to find it in a different location. this may sound a little confusing, ill show you.

my flash movie is located on [www.geocities.com/my](http://www.geocities.com/my) user name  
and what i want to do is to make a link in a new window to [www.cnet.com](http://www.cnet.com). but when i make the link it tries to find it in “[www.geocities.com/my](http://www.geocities.com/my) user name/www.cnet.com”

please tell me what i am doing wrong.

1. i made a button
2. for actions, i did

on (release) {  
getURL (“[www.cnet.com](http://www.cnet.com)”, “\_blank”);  
}

1. i uploaded the .swf and .html to my main directory
2. when i click on the button, it goes to [www.geocities.com/my](http://www.geocities.com/my) user name/www.cnet.com , but since there is nuthing there, it shows me an error

thank you

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 8, 2002, 11:18am UTC](https://forum.kirupa.com/t/hyperlink-geturl-problem/5339/2 "2002-09-08T11:18:56Z")

</div>

um u need to have “http://” in your site adress otherwise it looks for in in ur root directory…you would get an adress like  
“[http://www.apenguin.comwww.cnet.com](http://www.apenguin.comwww.cnet.com)” something like that…

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 8, 2002, 6:35pm UTC](https://forum.kirupa.com/t/hyperlink-geturl-problem/5339/3 "2002-09-08T18:35:54Z")

</div>

its working!

thank you very much

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 9, 2002, 3:28am UTC](https://forum.kirupa.com/t/hyperlink-geturl-problem/5339/4 "2002-09-09T03:28:44Z")

</div>

no problem 🙂
