I'm using several methods to achieve a popup html window from a flash.
Every single one of them gives me the same error on iexplorer 7:
After I click on the button with the popup code, a new window appears, but with no content in it. I cannot use it either, because it seems like it is frozen (I can't have right button mouse actions, nor change the url of the address bar).
What it's even more crazy is that the url of that window (showed in the address bar) is the same of any web site I previously visited. For instance, if I visited google, the popup windows shows
http://www.google.com in there.
Here is what I've tried:
on (release) {
- var jscommand:String = "window.open('"somepage.php?parameter="+variable+"','win','height=600,width=800,toolbar=no,scrollbars=yes');"; getURL("javascript:" + jscommand + " void(0);");
- getURL("javascript:void(window.open('somepage.php?parameter="+variable+"','win','menubar=no,resizable=no,toolbar=no,directories=no,location=no,scrollbars=yes,width=800,height=600,left = 200,top = 20'))");
- getURL ("javascript:window.open('somepage.php?parameter="+variable+"','win'); void(0);");
- getURL ("javascript:NewWindow=window.open('somepage.php?parameter="+variable+"','win','width=400,height=300,left=50,top=50,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No'); NewWindow.focus(); void(0);");
}
[/i]
The last method, even gives me a "NewWindow is not an object" alert (lower left's yellow icon in iexplorer).
Yes, the popup file is in the same folder.
Yes, it works fine in firefox with any method.
Yes, I delete my cookies and temporary web files before testing.
Yes, I'm testing on the remote server.
Yes, I've tried publishing as flash 6, 7, 8 and 9.
Yes, I've tried using the full url ("'
http://www.someserver.com/somepage.php?parameter="+variable')
Got any clues? This is driving me crazy!
BTW, I'm using ActionScript 2.0 (It would too much effort to change everything to AS 3.0).[/list]
UPDATE: I've tried it on a different PC using iexplorer 6 and works fine. So, I just have to check if the problem applies to iexplorer 7 in general or just my pc.