# getURL() not working on macs

**URL:** <https://forum.kirupa.com/t/geturl-not-working-on-macs/262467>\
**Category:** flash\
**Created:** [June 6, 2008, 5:46am UTC](https://forum.kirupa.com/t/geturl-not-working-on-macs/262467 "2008-06-06T05:46:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ericisshort](https://avatars.discourse-cdn.com/v4/letter/e/fbc32d/32.png) [@ericisshort](https://forum.kirupa.com/u/ericisshort)\
**Post date:** [June 6, 2008, 5:46am UTC](https://forum.kirupa.com/t/geturl-not-working-on-macs/262467/1 "2008-06-06T05:46:26Z")

</div>

I am having problems with a getURL() function that works fine on pcs and doesn’t work on macs for some reason.

```auto

if (page == 0) {
    getURL("javascript:sendPage()","historyframe");
    gotoAndPlay(1);
} else { gotoAndPlay(3);};

```

The variable comes from javascript in the history frame page to tell the flash movie what page it is at so that it can load the appropriate swf. Its so simple but I dont understand why it works on pcs but not on macs. I have also had a similar problem with another site using the getURL() that didn’t want to send on macs but did fine on pcs. Can anyone shine light onto my problem?

---

<div class="post-metadata">

**Author:** ![matthewjumps](https://avatars.discourse-cdn.com/v4/letter/m/49beb7/32.png) [@matthewjumps](https://forum.kirupa.com/u/matthewjumps)\
**Post date:** [June 6, 2008, 2:54pm UTC](https://forum.kirupa.com/t/geturl-not-working-on-macs/262467/2 "2008-06-06T14:54:05Z")

</div>

not sure exactly what it is but could it perhaps be a browser issue? what browser are you using on pc and mac?

---

<div class="post-metadata">

**Author:** ![ericisshort](https://avatars.discourse-cdn.com/v4/letter/e/fbc32d/32.png) [@ericisshort](https://forum.kirupa.com/u/ericisshort)\
**Post date:** [June 6, 2008, 3:43pm UTC](https://forum.kirupa.com/t/geturl-not-working-on-macs/262467/3 "2008-06-06T15:43:18Z")

</div>

Tried it on firefox and ie on pc, and both firefox and safari on a couple different macs.
