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.
The problem with your posting is most probably not of your doing, it appears to be another fluke of the currently errant forums... below is an image of what your posting looked like until I spread the window out to about 1600 pixels wide.
As far as your problem using "_self" goes, are you testing on a server? What you show is the correct way to implement it.
Here's why I was saying to repost...
Oh I see.. Well it doesn't look like that on my screen, this is strange. I've reposted it here
http://forums.adobe.com/message/4394894#4394894
But to me they both look the same, and I have my screen width at much less then 1600px wide.
Thanks for your help.
North America
Europe, Middle East and Africa
Asia Pacific