# getURL whyyyyyyyyyyyyyyyyyyyyyy?

**URL:** https://forum.kirupa.com/t/geturl-whyyyyyyyyyyyyyyyyyyyyyy/22949
**Category:** Uncategorized
**Created:** [June 10, 2003, 11:19pm UTC](https://forum.kirupa.com/t/geturl-whyyyyyyyyyyyyyyyyyyyyyy/22949 "2003-06-10T23:19:13Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![adham\_a](https://avatars.discourse-cdn.com/v4/letter/a/91b2a8/32.png) [@adham\_a](https://forum.kirupa.com/u/adham_a)
#### Post date: [June 10, 2003, 11:19pm UTC](https://forum.kirupa.com/t/geturl-whyyyyyyyyyyyyyyyyyyyyyy/22949/1 "2003-06-10T23:19:13Z")

</div>

Hello

i have a big request please can anybody tell me how the getURL command work it is just one line of command and it is getting me crazy.

I tried the lines that load an HTML page it doen’t work or even give an error message if i placed a nonexistent path in its URL argument.

The mailto is not working either

IT is if the command doesn’t exist can anybody help pleasssssssssssssssssssssssssssse

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: [June 10, 2003, 11:25pm UTC](https://forum.kirupa.com/t/geturl-whyyyyyyyyyyyyyyyyyyyyyy/22949/2 "2003-06-10T23:25:19Z")

</div>

How are you testing it? Are you testing it locally and it wont get the address you want?  
Are you testing it online??

---

<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: [June 10, 2003, 11:28pm UTC](https://forum.kirupa.com/t/geturl-whyyyyyyyyyyyyyyyyyyyyyy/22949/3 "2003-06-10T23:28:03Z")

</div>

no i sm trying to load an HTML file that is found in the same directory as the swf file. that is all and the command is:

getURL(“filename.html”,"\_blank");

right or for mailing:

getURL("mailto:email@mail.com","\_self");

---

<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: [June 10, 2003, 11:40pm UTC](https://forum.kirupa.com/t/geturl-whyyyyyyyyyyyyyyyyyyyyyy/22949/4 "2003-06-10T23:40:11Z")

</div>

```php

on (release) {
	getURL("your url", "_blank");
}

```

---

<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: [June 10, 2003, 11:42pm UTC](https://forum.kirupa.com/t/geturl-whyyyyyyyyyyyyyyyyyyyyyy/22949/5 "2003-06-10T23:42:15Z")

</div>

my code is ofcourse in a button action

[AS]

on (release) {  
getURL("mailto:email@mail.com", “\_self”);  
}

[/AS]

but still no reaction i am telling you not even an error

---

<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: [June 10, 2003, 11:53pm UTC](https://forum.kirupa.com/t/geturl-whyyyyyyyyyyyyyyyyyyyyyy/22949/6 "2003-06-10T23:53:47Z")

</div>

You could try restarting your PC. That works for me [9 times outa 10].

---

<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: [June 10, 2003, 11:56pm UTC](https://forum.kirupa.com/t/geturl-whyyyyyyyyyyyyyyyyyyyyyy/22949/7 "2003-06-10T23:56:21Z")

</div>

no i guess not with me tomorrow it didn’t work and it is still not working today

is there any common problems with getURL have anyone had such problems with it

---

<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: [June 11, 2003, 12:01am UTC](https://forum.kirupa.com/t/geturl-whyyyyyyyyyyyyyyyyyyyyyy/22949/8 "2003-06-11T00:01:58Z")

</div>

Check your url link to see if all the upper and lowercase letters matches your actual file name.

---

<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: [June 11, 2003, 12:04am UTC](https://forum.kirupa.com/t/geturl-whyyyyyyyyyyyyyyyyyyyyyy/22949/9 "2003-06-11T00:04:39Z")

</div>

i copied the file name and pasted it in the flash code

and in any case won’t it give me an error if i placed a file name that don’t exist ???

---

<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: [June 11, 2003, 12:35am UTC](https://forum.kirupa.com/t/geturl-whyyyyyyyyyyyyyyyyyyyyyy/22949/10 "2003-06-11T00:35:25Z")

</div>

> \*Originally posted by adham\_a \*  
> \*\*i copied the file name and pasted it in the flash code

and in any case won’t it give me an error if i placed a file name that don’t exist ??? \*\*

probably not, if the file exists already it should work, if the file does not already exsit then you won’t get an error nor will it work. Are you sure it is placed inside a button?

---

<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: [June 11, 2003, 4:56pm UTC](https://forum.kirupa.com/t/geturl-whyyyyyyyyyyyyyyyyyyyyyy/22949/11 "2003-06-11T16:56:46Z")

</div>

Hello its me again,

i tried the projector file of the previous line of code for the getURL command on another computer and it worked fine.

Then as i conclude (obviously) their is a problem with my PC in dealing with this action, can anyone suggest what is that problem.

Thanks

---

<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: [June 11, 2003, 5:18pm UTC](https://forum.kirupa.com/t/geturl-whyyyyyyyyyyyyyyyyyyyyyy/22949/12 "2003-06-11T17:18:57Z")

</div>

Ok, your pc sounds f\*cked up 😛 Try reinstalling browser, run a defragmentation, scan for adware, sacn for viruses, … The common pc health stuff.

Maybe removing \_self :-\ ?
