# GetURL command only works on www and not http://

**URL:** <https://forum.kirupa.com/t/geturl-command-only-works-on-www-and-not-http/310114>\
**Category:** flash\
**Created:** [June 1, 2010, 11:12pm UTC](https://forum.kirupa.com/t/geturl-command-only-works-on-www-and-not-http/310114 "2010-06-01T23:12:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tardivel73](https://avatars.discourse-cdn.com/v4/letter/t/9e8a1a/32.png) [@Tardivel73](https://forum.kirupa.com/u/Tardivel73)\
**Post date:** [June 1, 2010, 11:12pm UTC](https://forum.kirupa.com/t/geturl-command-only-works-on-www-and-not-http/310114/1 "2010-06-01T23:12:34Z")

</div>

Hi

Im new to this forum, but i have a problem with the getURL command

When i open my page like this : [www.mypage.com](http://www.mypage.com), the buttons work fine, and when i click them, they go to the wanted url…

But if i open my page like this : [http://mypage.com](http://mypage.com), the buttons still play the over animation, but when i click them, nothing happens…

I have tried to read all that i can about this subject, but i havn’t found nothing helpfull yet…

Hope that somebody have the answer for this…

This is my actionscript code :

on (release){  
getURL(“[http://www.mysite.com](http://www.mysite.com)[/link.php](http://www.cortezdesignstudio.com/bauarquitectura/portfolio.php)”, “\_self”);  
}

Thanks :stormtrooper:
