# How do i open in \_self?

**URL:** <https://forum.kirupa.com/t/how-do-i-open-in--self/281290>\
**Category:** Uncategorized\
**Created:** [February 6, 2009, 10:41pm UTC](https://forum.kirupa.com/t/how-do-i-open-in--self/281290 "2009-02-06T22:41:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![qwiktune](https://avatars.discourse-cdn.com/v4/letter/q/a9a28c/32.png) [@qwiktune](https://forum.kirupa.com/u/qwiktune)\
**Post date:** [February 6, 2009, 10:41pm UTC](https://forum.kirupa.com/t/how-do-i-open-in--self/281290/1 "2009-02-06T22:41:04Z")

</div>

Got a site and my opening page is made with Flash for the menu, each subsection when clicked is a link to another “.html” Now, when i click the links it opens a new page of the “.html” clicked, but I need it to open in the same window if i cant in the same frame. Cuz it keeps opening new windows…im assuming the fix is with something like “\_self”, but in my CS4 under properties of each button under Link I have the URL and selected “\_self”. I even put in a new layer called action and used the code below. But when I tried putting ,"\_self" after the url in the code i got an error in flash…help

probg.addEventListener(MouseEvent.MOUSE\_DOWN, probgHandler);  
function probgHandler(event:MouseEvent):void {  
navigateToURL(new URLRequest(“probg.html”));  
}  
proact.addEventListener(MouseEvent.MOUSE\_DOWN, proactHandler);  
function proactHandler(event:MouseEvent):void {  
navigateToURL(new URLRequest(“proact.html”));  
}
