2 Replies Latest reply on Jan 26, 2010 12:24 PM by nickharambee

    how to set button link to force new page to open in same tab?

    nickharambee Level 1

      Hi  I am using the following script in Flash CS4 for a URL link:

       

      button.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);

      function mouseDownHandler(event:MouseEvent):void {

      navigateToURL(new URLRequest("http://www.nickis40.com/main/main.html"));

      }

       

      and I would like the link to open the new page in the same tab.  In Safari it opens the link in a new window (when the default is to open links in the same tab).  In IE it opens in a new tab, and also in Firefox (though in Firefox this is the default behaviour for me).  Is there a way to override default settings and get the link to open in the same tab for all browsers?

       

      Thanks

       

      Nick