PDA

View Full Version : navigateToURL stay in the same window


finecur
02-27-2008, 06:03 AM
Hi all:

If I use navigateToURL('someURL'), it will a new browser window. Is there a way I can load 'someURL' in the same browser window of my application?

Thanks,

ff

fnx
02-28-2008, 11:35 AM
Hi, i use this in my apps and it works perfectly

navigateToURL(new URLRequest("http://...."), "_blank"); //open in new win
navigateToURL(new URLRequest("http://...."), "_self"); //open in the same win

Hope this helps :)

FNX