# getURL problem

**URL:** https://forum.kirupa.com/t/geturl-problem/270179
**Category:** Uncategorized
**Created:** [September 6, 2008, 12:06am UTC](https://forum.kirupa.com/t/geturl-problem/270179 "2008-09-06T00:06:12Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![digits](https://avatars.discourse-cdn.com/v4/letter/d/ecccb3/32.png) [@digits](https://forum.kirupa.com/u/digits)
#### Post date: [September 6, 2008, 12:06am UTC](https://forum.kirupa.com/t/geturl-problem/270179/1 "2008-09-06T00:06:12Z")

</div>

Hi there,

I have recently built a small full-flash website in CS3/AS2, but I have been pulling my hair out trying to figure out why some, but not all of my getURL functions are not working.

Everything works absolutely perfect when using FireFox 3 or Safari 3 on my Mac, but only some of the functions work when using IE6/7 or FireFox 3 on Windows, although the depth is exactly the same and the code only differs with regards to what is called, for example, I have tried all of the following:

```auto

var myURL:String = "";

textHolder.staticTextHolder.bbText.bbWebLink.onRelease = function ()
{
    myURL = "http://www.bestbehavior.dk";
    
    getURL("javascript:openNewWindow('" + String(myURL) + "');");
}

textHolder.staticTextHolder.lwText.lwWebLink.onRelease = function ()
{
    getURL ("http://www.lundgren-windinge.com", "_self");
}

textHolder.staticTextHolder.ndText.ndWebLink.onRelease = function ()
{
    getURL ("http://www.nicolademain.co.uk", "_blank");
}

```

none of which seem to work at all in windows, although strangely enough, the same getURL function called at the same depth DOES work when used with ‘mailto’, for example:

```auto

textHolder.staticTextHolder.contactUsText.contactUsEmailBtn2.onRelease = function ()
{
    getURL ("mailto:mark@maverikagency.com", "_self");
};

```

Any ideas guys, I’m at a loss here ![](http://forum.kirupa.com/uploads/kirupa/525/d5236136df0858f4.gif)

Thanks in advance
