# Url linking(no new tab opening)

**URL:** <https://forum.kirupa.com/t/url-linking-no-new-tab-opening/312534>\
**Category:** Uncategorized\
**Created:** [August 5, 2010, 9:05pm UTC](https://forum.kirupa.com/t/url-linking-no-new-tab-opening/312534 "2010-08-05T21:05:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aleksandar28](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@aleksandar28](https://forum.kirupa.com/u/aleksandar28)\
**Post date:** [August 5, 2010, 9:05pm UTC](https://forum.kirupa.com/t/url-linking-no-new-tab-opening/312534/1 "2010-08-05T21:05:39Z")

</div>

i’ve made menu bar in flash cs4 as3, and i put it on to my website in dreamweaver.  
example one of my butons is btn2, and when i click on btn2 it opens a wanted html page that i’ve set , BUT IN NEW TAB :///

btn2.addEventListener(MouseEvent.CLICK,goToBtn2);  
function goToBtn2 (e:Event):void {  
getURL(‘file:///C:/Users/Aleksandar/Desktop/WEBSITE/html/index.html’);  
}

any way to open that html page in same tab, btw im using mozilla firefox 🙂  
Thanks  
Aleksandar
