Re: [Flashcoders] navigateToURL or getURL and pop-up blocking
Personally I would get flash to display a box that tells the user to expect a pop up and what to do if they dont get it. You might find a way round it, only to find that the pop up stopper can later defeat the method you use. Cheers, Tom On Sat, 20 Oct 2007 10:23:56 -0700, you wrote: >I have a client Flash AS3 project where I need to open a new window >from within Flash. I won't have any control over the html wrapper >for the SWF so I can't use javascript within the HTML page. I've >read suggestions about using Javascript:window.open but seems that >will get blocked as well. > >Any suggestions? > > >___ >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] navigateToURL or getURL and pop-up blocking
You should be fine using navigateToURL( "yourURL.html", "_blank" ). Pop-up blockers don't go after this (it's often user initiated). Even if you put a javascript in as the URL, it should be okay. jord On Oct 20, 2007, at 1:23 PM, John Olson wrote: I have a client Flash AS3 project where I need to open a new window from within Flash. I won't have any control over the html wrapper for the SWF so I can't use javascript within the HTML page. I've read suggestions about using Javascript:window.open but seems that will get blocked as well. Any suggestions? Jordan L. Chilcott, President Interactivity Unlimited Guelph, Ontario - Tel: (519) 837-1879 Fax: (519) 837-8610 mailto:[EMAIL PROTECTED] http://www.interactivityunlimited.com iChat/AIM: j1chilcott Skype: bear-faced-cow SightSpeed: [EMAIL PROTECTED] Author: "Building Web Sites with Macromedia Studio MX" Author: "Building Dynamic Web Sites with Macromedia Studio MX" Author: "Flash Professional 8: Training From the Source" Author: "Foundation Flash 8 Video" ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] navigateToURL or getURL and pop-up blocking
John you'd need to have allowScriptAccess enabled in the page. If it is then you can call window.open(...), otherwise - you might be out of luck... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Olson Sent: 20 October 2007 18:24 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] navigateToURL or getURL and pop-up blocking I have a client Flash AS3 project where I need to open a new window from within Flash. I won't have any control over the html wrapper for the SWF so I can't use javascript within the HTML page. I've read suggestions about using Javascript:window.open but seems that will get blocked as well. Any suggestions? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ This e-mail has been scanned for viruses by the Virtual Universe e-mail security system - powered by MessageLabs. http://www.virtual-universe.net __ Virtual Universe Ltd, Amplefuture House, The Quadrant, 135 Salusbury Road, London NW6 6RJ Tel: +44 (0) 870 788 6000 Fax: +44 (0) 870 788 6689 Web:www.virtual-universe.net - CONFIDENTIALITY NOTICE This e-mail may contain information which is confidential and privileged. If you are not the named addressee of this e-mail, you may not copy or use it, or forward or otherwise disclose it to anyone else. If you have received this e-mail in error, please e-mail the sender by replying to this message and then fully delete it from your system. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Amplefuture Group. Amplefuture Group reserves the right to monitor e-mail communications from both external and internal sources for the purposes of ensuring correct and appropriate use of our communication equipment. __ This e-mail has been scanned for viruses by the Virtual Universe e-mail security system - powered by MessageLabs. http://www.virtual-universe.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] navigateToURL or getURL and pop-up blocking
I have a client Flash AS3 project where I need to open a new window from within Flash. I won't have any control over the html wrapper for the SWF so I can't use javascript within the HTML page. I've read suggestions about using Javascript:window.open but seems that will get blocked as well. Any suggestions? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders