PDA

View Full Version : javascript popup problem


mmm84
04-09-2008, 04:27 PM
I am trying to open a popup window using javascript... But it ain't working ! LOL

I basically took the code from a tutorial there http://www.flepstudio.org/forum/articoli-e-tutorials/376-aprire-una-popup-con-flash-cs3-e-javascript.html
I saw that most tutorials follow the same structure. I also saw that other people experience the same problem with IE. But most visitors on my website use IE, so I got to make it work!

var js:URLRequest=new URLRequest();
js.url="javascript:window.open('http://www.adobe.com','popper1','width=500,height=400');n ewWindow.focus(); void(0);";

function openPopUp(evt:MouseEvent):void
{
navigateToURL(js,'_blank');
}

When I try it, I get a message from IE saying "Internet Explorer cannot download. Unspecified error"

I tried my luck with ExternalInterface, but then, nothing happens at all... No error, no popup, no msg. Nothing.

Any insight, any help???

schedal
06-14-2008, 02:41 AM
Any solution here? I have the same issue!!!
:-(
Super simple HTML JS line and super simple AS code with ExternalInterface works fine in Firefox, but not IE...
:/
Help!

John E Lopez
09-06-2008, 06:26 AM
Im having the same problem to . has anyone downloaded the spk3 lately. I have and Im not sure if that is the problem. I used a kuripa popup window and it worked fine. i reloaded windowsxp and got service pack 3 and try to duplicate the same popup now im geting the same error as the resto fo you. "internet explorer cannot download. unspecified error"

rawmantick
09-06-2008, 06:37 AM
You should be more attentive to previous threads of the forum:

Popup window with javascript in flash? (http://www.actionscript.org/forums/showthread.php3?t=182079)