Here are a couple of button actions:

import flash.external.*;

mcEI.onRelease = function() {
        if (ExternalInterface.available) {
ExternalInterface.call("window.open", "http://www.paulchang.com/";, "win", "height=600,width=800,toolbar=no,scrollbars=yes");
        }
}

mcGetURL.onRelease = function() {
getURL("javascript:newWindow('http://www.paulchang.com/','Test Popup','center',800,600,'yes','no','no','no','no','no');","_self");
}

The first is calling window.open directly. The second calls a custom js. I believe the code is correct since FireFox executes both. But perhaps there's a nuance that I'm missing.

Thanks,
Paul

--
Paul Chang, Ph.D.
PCD.



On May 10, 2007, at 1:04 AM, Muzak wrote:

show us some code.

----- Original Message -----
From: "Paul Chang" <[EMAIL PROTECTED]>
To: <flashcoders@chattyfig.figleaf.com>
Sent: Thursday, May 10, 2007 6:07 AM
Subject: [Flashcoders] popup blockers and flash


I've been experiencing some inconsistent behaviors using ExternalInterface (AS2) to call JavaScript to launch a customized popup
window.

FireFox works seamlessly for both platforms.

Safari on Mac and IE on PC are inconsistent.

For example, when I call a custom JavaScript function, IE will choke, but it will work calling the window.open command.

Mixed in with all of this is the popup blocker issue.

Can someone speak to this issue and suggest a dependable approach?

Thanks in advance,
Paul

--


_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to