PDA

View Full Version : Splash page button opens new browser Window/Tab??



mr.s4ndm4n
09 Aug 2010, 10:49 AM
So i just finished a client's website and the only problem that i've run into was the issue where the splash page (using Flash of course) is opening up a new window, instead of opening in the same window. I've listed the website below as well as the ActionScript code for the 'Enter' button. Does anyone have any suggestions?

www.synopticsresearch.com

ActionScript code:

enterButton.addEventListener(MouseEvent.CLICK,goThere);
function goThere(e:MouseEvent){
var request:URLRequest = new URLRequest("http://www.synopticsresearch.com/home.php");
navigateToURL(request);
}

mr.s4ndm4n
09 Aug 2010, 11:25 AM
nevermind, i got it fixed!

Thanks anyways!