# getURL STILL not working

**URL:** <https://forum.kirupa.com/t/geturl-still-not-working/118469>\
**Category:** Uncategorized\
**Created:** [August 5, 2004, 6:59pm UTC](https://forum.kirupa.com/t/geturl-still-not-working/118469 "2004-08-05T18:59:46Z")\
**Posts on this page:** 5\
**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, 6:59pm UTC](https://forum.kirupa.com/t/geturl-still-not-working/118469/1 "2004-08-05T18:59:46Z")

</div>

myobject.onRelease = function() {  
getURL(“front.htm”, “\_blank”);  
};

---

<div class="post-metadata">

**Author:** ![wizard](https://avatars.discourse-cdn.com/v4/letter/w/a87d85/32.png) [@wizard](https://forum.kirupa.com/u/wizard)\
**Post date:** [August 5, 2004, 7:01pm UTC](https://forum.kirupa.com/t/geturl-still-not-working/118469/2 "2004-08-05T19:01:11Z")

</div>

Try:[AS]on (release) {  
getURL(“front.htm”,"\_blank");  
}[/AS]

---

<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, 7:03pm UTC](https://forum.kirupa.com/t/geturl-still-not-working/118469/3 "2004-08-05T19:03:13Z")

</div>

If you are using a movie clip use

```auto

myobject.onRelease = function() {
getURL("http://www.front.htm", "_blank");
};

```

If you are using a button symbol use

```auto

on (release) {
getURL("http://www.front.htm","_blank");
}

```

Notice that you have to use the FULL address including [http://www](http://www)

:hr:

---

<div class="post-metadata">

**Author:** ![wizard](https://avatars.discourse-cdn.com/v4/letter/w/a87d85/32.png) [@wizard](https://forum.kirupa.com/u/wizard)\
**Post date:** [August 5, 2004, 8:28pm UTC](https://forum.kirupa.com/t/geturl-still-not-working/118469/4 "2004-08-05T20:28:53Z")

</div>

I forgot about the ‘[http://www](http://www).,’ oops.

---

<div class="post-metadata">

**Author:** ![claudio](https://avatars.discourse-cdn.com/v4/letter/c/7cd45c/32.png) [@claudio](https://forum.kirupa.com/u/claudio)\
**Post date:** [August 5, 2004, 8:31pm UTC](https://forum.kirupa.com/t/geturl-still-not-working/118469/5 "2004-08-05T20:31:04Z")

</div>

If you want to place the action direct on the button or movieclip itself, use a static event handler:

```auto
on (release) {
getURL("http://www.mypage.com","_blank");
}

```

If you want to place the action on a frame, use a dynamic event handler:

```auto
mybuttoninstancename.onRelease = function() {
getURL("http://www.mypage.com","_blank");
};

```
