# Links

**URL:** <https://forum.kirupa.com/t/links/299473>\
**Category:** Uncategorized\
**Created:** [November 5, 2009, 2:42pm UTC](https://forum.kirupa.com/t/links/299473 "2009-11-05T14:42:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![paddles](https://avatars.discourse-cdn.com/v4/letter/p/977dab/32.png) [@paddles](https://forum.kirupa.com/u/paddles)\
**Post date:** [November 5, 2009, 2:42pm UTC](https://forum.kirupa.com/t/links/299473/1 "2009-11-05T14:42:19Z")

</div>

hello,

I have a reasonably simple problem. I want to link from a movie clip to a url but I want to make it load the url in the same window…

The code I have already opens a new indow every time. It is as follows:

var link:URLRequest = new URLRequest("/index.php");

thingy.addEventListener(MouseEvent.MOUSE\_DOWN, homeboy);

function homeboy(e:MouseEvent):void  
{  
navigateToURL(link)  
}

thanks in advance.
