Hi,
Can you tll me what I need to change to open my link in the parent window?
I have this Actionscript 3:
function gotoPage(event:MouseEvent):void
{
var targetURL:URLRequest = new
URLRequest("http://www.adelantedesign.co.uk/websites/adelante/Packaging/Packagin
g_Samples01.asp?panel=1");
navigateToURL(targetURL)
}
packagingLink.addEventListener(MouseEvent.CLICK, gotoPage);
Thanks,
Richard
David Stiller - 09 Jul 2008 14:49 GMT
Richard,
> Can you tll me what I need to change to open my link in the parent window?
Add "_parent" as the second parameter of that navigateToURL() call.
i.e.
navigateToURL(targetURL, "_parent");
// everything else stays the same
David Stiller
Adobe Community Expert
Dev blog, http://www.quip.net/blog/
"Luck is the residue of good design."
RICH POW - 09 Jul 2008 15:12 GMT