# Flash open link in same window

**URL:** <https://forum.kirupa.com/t/flash-open-link-in-same-window/283901>\
**Category:** flash\
**Created:** [March 12, 2009, 9:27am UTC](https://forum.kirupa.com/t/flash-open-link-in-same-window/283901 "2009-03-12T09:27:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Loyen\_](https://avatars.discourse-cdn.com/v4/letter/l/e19adc/32.png) [@Loyen\_](https://forum.kirupa.com/u/Loyen_)\
**Post date:** [March 12, 2009, 9:27am UTC](https://forum.kirupa.com/t/flash-open-link-in-same-window/283901/1 "2009-03-12T09:27:32Z")

</div>

Hi, I got a problem with my website [http://www.fortestudios.se](http://www.fortestudios.se/). The problem aren’t about html, php or webdesign itself I believe, but the problem is the flash menu. The menu is coded to open the buttons in the same window, but it doesn’t, it opens the links in a new tab/window which is very annoying, I’ve tried to fix it by adding “\_self” to the flash file, but it doesn’t work at all now, it doesn’t go anywhere when I press on the menu!

```auto
        public function mouse_Down(e:Event):void {
            trace(e.currentTarget.href);
            var targetURL:URLRequest = new URLRequest(e.currentTarget.href);
            navigateToURL(targetURL, "_self");
        }

```

(it’s an as file linked to the fla)

I’ve no idea how to fix this right now, I’ve tried googling but I only found as2 ways or changing the “\_self” to ‘\_self’, but that doesn’t work either.  
I got another site that is my personal portfolio (forte is more of a schoolproject) and I tried thesame thing out there, and it worked! So I thought that maybe surftown (that is forte’s server provider) has something against this or something, I dunno.

Help is appreciated. 🙂
