Hey, I have made a navigation menu in flash. All the links work properly etc. I have placed it into my HTML file but each time I click on a menu item, like home, work, about etc, it will open the requested page in a SEPERATE browser window or tab. How do I make all the links open in the SAME window? The actionscript for each button is as follows:
home_Btn.addEventListener(MouseEvent.CLICK, gotoHome);function gotoHome(event:MouseEvent):void { var gotoHome:URLRequest = new URLRequest("http://http://www.mywebsite.com.au/;; navigateToURL(gotoHome,"_self"); }
I have a feeling it is a problem with the HTML in my page. How should i have set it out? At the moment I have the swf file in a div that goes on every page. Whats the recommended way of doing this? I can't seem to work it out. Thanks.