Re: [Flashcoders] Firefox popup blocker and flash 9
Viktor and Glen are right.. The user has to initiate the geturl and it has to be on a onRelease so it's as user friendly as possible.. by this way after pressing he can decide to not releasing on the button anyway. the allowScript access as a param is only needed when you'r swf is on a different subdomain .. for instance your site is site.myurl.com and your swf comes from files.myurl.com Dennis Isioux - Original Message - From: Claus Wahlers [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Friday, May 30, 2008 12:37 AM Subject: Re: [Flashcoders] Firefox popup blocker and flash 9 Dan Wade wrote: Turning on popup blocker shouldn't block user initiated clicks that call a js function to open a new window. Or, popup blocker should allow for a simple getURL(url, _blank). I'm finding these calls are being blocked some cases in Firefox on PC's with flash player 9. The Flash Player is a browser plugin (and presumably looks like a black box to the browser), so when e.g. Firefox gets a request to open a new window from the Flash Player, it probably can't tell whether this request is user initiated (thus legit) or not, so the blocker kicks in and blocks it. At least that's my theory (i definately don't know the technical details), so someone please correct me if i'm wrong. Cheers, Claus. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ NOD32 3145 (20080529) Informatie __ Dit bericht is gecontroleerd door het NOD32 Antivirus Systeem. http://www.nod32.nl ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Firefox popup blocker and flash 9
Turning on popup blocker shouldn't block user initiated clicks that call a js function to open a new window. Or, popup blocker should allow for a simple getURL(url, _blank). I'm finding these calls are being blocked some cases in Firefox on PC's with flash player 9. -d On 5/28/08 4:46 PM, Robert Leisle [EMAIL PROTECTED] wrote: This is probably not what your client wants to hear but the question has to be asked. Isn't Firefox popup blocker there for a reason? When blocking is active there is a message when a popup is attempted. Users have the choice to block or not, or to white-list your popups. I recommend allowing them that choice. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Wade Sent: Wednesday, May 28, 2008 4:22 PM To: Flash Coders List Subject: [Flashcoders] Firefox popup blocker and flash 9 I'm having problems with Fireox blocking my popup windows. I've tried everything I can think of. It seems to happen on Windows running Firefox but I can't replicate the issue on all machines I've tested(it works on most machines but not all). Here is the class I'm using: package { import flash.external.ExternalInterface; public class URLUtil{ protected static const WINDOW_OPEN_FUNCTION : String = window.open; public static function openWindow(url : String, window : String = _blank, features : String = ) : void { ExternalInterface.call(WINDOW_OPEN_FUNCTION, url, window, features); } } } //being called this way function recholder1Release(event:MouseEvent) { URLUtil.openWindow(res1link); } Any ideas? TIA, -D ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Firefox popup blocker and flash 9
Hi Dan, Firefox blocks popups that aren't user-generated. Firefox's blocker only opens popups that tries to open on a onRelease event. So not automatic not onPress. Only onRelease / Viktor H On Fri, 30 May 2008 00:09:42 +0200, Dan Wade [EMAIL PROTECTED] wrote: Turning on popup blocker shouldn't block user initiated clicks that call a js function to open a new window. Or, popup blocker should allow for a simple getURL(url, _blank). I'm finding these calls are being blocked some cases in Firefox on PC's with flash player 9. -d On 5/28/08 4:46 PM, Robert Leisle [EMAIL PROTECTED] wrote: This is probably not what your client wants to hear but the question has to be asked. Isn't Firefox popup blocker there for a reason? When blocking is active there is a message when a popup is attempted. Users have the choice to block or not, or to white-list your popups. I recommend allowing them that choice. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Wade Sent: Wednesday, May 28, 2008 4:22 PM To: Flash Coders List Subject: [Flashcoders] Firefox popup blocker and flash 9 I'm having problems with Fireox blocking my popup windows. I've tried everything I can think of. It seems to happen on Windows running Firefox but I can't replicate the issue on all machines I've tested(it works on most machines but not all). Here is the class I'm using: package { import flash.external.ExternalInterface; public class URLUtil{ protected static const WINDOW_OPEN_FUNCTION : String = window.open; public static function openWindow(url : String, window : String = _blank, features : String = ) : void { ExternalInterface.call(WINDOW_OPEN_FUNCTION, url, window, features); } } } //being called this way function recholder1Release(event:MouseEvent) { URLUtil.openWindow(res1link); } Any ideas? TIA, -D ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Firefox popup blocker and flash 9
Have you read the comments on the blog post: http://skovalyov.blogspot.com/2007/01/how-to-prevent-pop-up-blocking-in.html allowScript access may need setting as an attribute when you embed Flash You may need to specify a full URL wmode may have an effect. some more there too. Dan Wade wrote: Turning on popup blocker shouldn't block user initiated clicks that call a js function to open a new window. Or, popup blocker should allow for a simple getURL(url, _blank). I'm finding these calls are being blocked some cases in Firefox on PC's with flash player 9. -d On 5/28/08 4:46 PM, Robert Leisle [EMAIL PROTECTED] wrote: This is probably not what your client wants to hear but the question has to be asked. Isn't Firefox popup blocker there for a reason? When blocking is active there is a message when a popup is attempted. Users have the choice to block or not, or to white-list your popups. I recommend allowing them that choice. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Wade Sent: Wednesday, May 28, 2008 4:22 PM To: Flash Coders List Subject: [Flashcoders] Firefox popup blocker and flash 9 I'm having problems with Fireox blocking my popup windows. I've tried everything I can think of. It seems to happen on Windows running Firefox but I can't replicate the issue on all machines I've tested(it works on most machines but not all). Here is the class I'm using: package { import flash.external.ExternalInterface; public class URLUtil{ protected static const WINDOW_OPEN_FUNCTION : String = window.open; public static function openWindow(url : String, window : String = _blank, features : String = ) : void { ExternalInterface.call(WINDOW_OPEN_FUNCTION, url, window, features); } } } //being called this way function recholder1Release(event:MouseEvent) { URLUtil.openWindow(res1link); } Any ideas? TIA, -D ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Glen Pike 01326 218440 www.glenpike.co.uk http://www.glenpike.co.uk ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Firefox popup blocker and flash 9
Dan Wade wrote: Turning on popup blocker shouldn't block user initiated clicks that call a js function to open a new window. Or, popup blocker should allow for a simple getURL(url, _blank). I'm finding these calls are being blocked some cases in Firefox on PC's with flash player 9. The Flash Player is a browser plugin (and presumably looks like a black box to the browser), so when e.g. Firefox gets a request to open a new window from the Flash Player, it probably can't tell whether this request is user initiated (thus legit) or not, so the blocker kicks in and blocks it. At least that's my theory (i definately don't know the technical details), so someone please correct me if i'm wrong. Cheers, Claus. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Firefox popup blocker and flash 9
This is probably not what your client wants to hear but the question has to be asked. Isn't Firefox popup blocker there for a reason? When blocking is active there is a message when a popup is attempted. Users have the choice to block or not, or to white-list your popups. I recommend allowing them that choice. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Wade Sent: Wednesday, May 28, 2008 4:22 PM To: Flash Coders List Subject: [Flashcoders] Firefox popup blocker and flash 9 I'm having problems with Fireox blocking my popup windows. I've tried everything I can think of. It seems to happen on Windows running Firefox but I can't replicate the issue on all machines I've tested(it works on most machines but not all). Here is the class I'm using: package { import flash.external.ExternalInterface; public class URLUtil{ protected static const WINDOW_OPEN_FUNCTION : String = window.open; public static function openWindow(url : String, window : String = _blank, features : String = ) : void { ExternalInterface.call(WINDOW_OPEN_FUNCTION, url, window, features); } } } //being called this way function recholder1Release(event:MouseEvent) { URLUtil.openWindow(res1link); } Any ideas? TIA, -D ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders