This content has been marked as final. Show 4 replies
Isnt the "_parent" the originating window? I use "_new" and it works fine for spawning a new window.
navigateToURL(new URLRequest(gURL), "_new");
Yes, "_parent' is the originating window that contains the link which opened the window with the .swf. I don't want a new window to open from the .swf. Yes, "_new" works. We want the document to open in the original window.
Maybe this will help:
I have a file, myFile.html. This file has a link that opens the .swf.
I click on a link in the .swf. I want it to open in the window where myFile.html is displayed. I do not want to open another window.
Oh i see. I believe in the case your stating that "_parent" would refer to the swf's window, im not sure you can access a window that isnt directly related to the window your interacting with. Maybe you can name the originating html window to something unique and reference it that way, not sure, sorry i cant be of more help.
Thanks. Unfortunately, naming the parent (source) window isn't an option, as our Flex app will be called via a link from a variety of Web pages on our company's Web site, and we won't have any control over their names.
I'm not convinced that it's not a bug. Can anyone provide a case that shows that "_parent" works? The window where the .swf is embedded should be "_self", not "_parent", IMHO.