Hi Guys,
I'm trying to get a page to load in the same tab, instead of creating a new tab (like HTML target=""_self" instead of _blank)
I've tried a few different things I've found on different forums, nothign seems to be working though
This is what I'm trying..
function gotoManitoba(event:MouseEvent):void
{
var targetURL:URLRequest = new URLRequest("http://mydomain.com/flash/?p=44");
navigateToURL(targetURL, "_self");
}
MB.addEventListener(MouseEvent.CLICK, gotoManitoba);
It doesn't return an error, but the link doesn't work at all as long as the "_self" is in there.
I'm running into the same problem. I have been trying to figure it out for the last three days, and I still haven't come across a solution. I am doing everything correct while watching instruction videos, but again, the _self tag doesn't work and acts as if it's nonclickable, where as _blank works to open the link in a new tab. But I am trying to open the flash button in the same tab.
If anyone has a solution to this problem, I would greatly appreciate it.
I have googled and searched through multiple forums, but all seem to say the same thing, and I still haven't figured out how to get it to work.
This is the code snippet I am using:
inv_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPage);
function fl_ClickToGoToWebPage(event:MouseEvent):void
{
navigateToURL(new URLRequest("http://www.mydomain.com/"), "_self");
}
_blank tag works, but not _self.
North America
Europe, Middle East and Africa
Asia Pacific