Skip to main content
Inspiring
May 17, 2010
Question

Get url vs navigate to url

  • May 17, 2010
  • 1 reply
  • 577 views

I need to have buttons on a flash banner  open a page using a relative link" intro_develop.asp"

I have buttons coded as

function  buttonClickone(e:MouseEvent):void
{
   navigateToURL(new URLRequest(" intro_develop.asp"));
}

which gives me the page opening in a new window.

What url code do I use for a relatve path to open in its own window same but add _self?

RD

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
May 17, 2010

use:


function  buttonClickone(e:MouseEvent):void
{
   navigateToURL(new URLRequest(" intro_develop.asp"),"_self");
}