Thank you, it seems is more stable way.

2010/3/4 Chris Foster <[email protected]>:
> Don't call the 'window.open' method from Flash, write a function in the
> HTML page and call that function from Flash.
>
> Here's an example of the function on the HTML page:
>
> loadPopup = function(pageName, width, height) {
>                var newPopupWindow;
>                var left   = screen.width/4;
>                var top    = screen.height/4;
>                var props =
> "width="+width+",height="+height+",top="+top+",left="+left+",resizable=n
> o,status=no,toolbar=no,menubar=no,location=no";
>                newPopupWindow = window.open(pageName, "content1",
> props);
>        }
>
>
> ...and from AS3 you would call:
> ExternalInterface.call("loadPopup('" + myURLStringHere + "', 740,
> 560)");
>
>
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Fahim
> Akhter
> Sent: Thursday, 4 March 2010 5:58 AM
> To: Flash Coders List
> Subject: Re: [Flashcoders] Re: Pop up window locally
>
> Test on different version of IE too, sometimes older version of IE prove
> to be a bitch.
>
> regards,
> Fahim Akhter
> http://www.behance.net/fahimakhter http://twitter.com/fahimakhter
>
>
> On Wed, Mar 3, 2010 at 11:40 PM, natalia Vikhtinskaya
> <[email protected]
>> wrote:
>
>>  Mozilla opens pop up correctly. This strange thing happened only on
>> IE
>>
>> 2010/3/3 natalia Vikhtinskaya <[email protected]>:
>> > I test it from html
>> > <script language="javascript">
>> >        if (AC_FL_RunContent == 0) {
>> >                alert("This page requires AC_RunActiveContent.js.");
>> >        } else {
>> >                AC_FL_RunContent(
>> >                        'codebase', '
>> http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
>> rsion=9,0,0,0
>> ',
>> >                        'width', '550',
>> >                        'height', '400',
>> >                        'src', 'test',
>> >                        'quality', 'high',
>> >                        'pluginspage', '
>> http://www.macromedia.com/go/getflashplayer',
>> >                        'align', 'middle',
>> >                        'play', 'true',
>> >                        'loop', 'true',
>> >                        'scale', 'showall',
>> >                        'wmode', 'window',
>> >                        'devicefont', 'false',
>> >                        'id', 'test',
>> >                        'bgcolor', '#ffffff',
>> >                        'name', 'test',
>> >                        'menu', 'true',
>> >                        'allowFullScreen', 'false',
>> >                        'allowScriptAccess','always',
>> >                        'movie', 'test',
>> >                        'salign', ''
>> >                        ); //end AC code
>> >        }
>> > </script>
>> >
>> > 2010/3/3 Nathan Mynarcik <[email protected]>:
>> >> When you test locally, are you testing your swf embedded in an HTML
>> file? Or are you testing it from when Flash shows you the published
> swf?
>> >>
>> >>
>> >> ------Original Message------
>> >> From: natalia Vikhtinskaya
>> >> Sender: [email protected]
>> >> To: Flash Coders List
>> >> ReplyTo: Flash Coders List
>> >> Subject: [Flashcoders] Re: Pop up window locally
>> >> Sent: Mar 3, 2010 11:58 AM
>> >>
>> >> But if locally I test script like
>> >> getURL ("javascript:NewWindow=window.open('
>> http://www.somename.com/key16.html
>> ','newWin','width=400,height=300,left=0,top=0,toolbar=No,location=No,s
>> crollbars=No,status=No,resizable=No,fullscreen=No');void(0);");
>> >> this script  works in IE and opens pop up window
>> >>
>> >>
>> >> 2010/3/3 natalia Vikhtinskaya <[email protected]>:
>> >>> Hi
>> >>> I cannot find solution for this small problem Simple code getURL
>> ("javascript:NewWindow=window.open('key16.html','newWin','width=400,he
>> ight=300,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,r
>> esizable=No,fullscreen=No');void(0);");
>> >>>
>> >>>
>> >>> That opens pop up window when I test it  from the server and does
>> >>> not open pop up window when I test it locally on computer.
>> >>> Thanks for any help.
>> >>>
>> >>
>> >> _______________________________________________
>> >> Flashcoders mailing list
>> >> [email protected]
>> >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>> >>
>> >>
>> >> Nathan Mynarcik
>> >> Interactive Web Developer
>> >> [email protected]
>> >> 254.749.2525
>> >> www.mynarcik.com
>> >>
>> >> _______________________________________________
>> >> Flashcoders mailing list
>> >> [email protected]
>> >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>> >>
>> >
>>
>> _______________________________________________
>> Flashcoders mailing list
>> [email protected]
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> This e-mail, including any attached files, may contain confidential and 
> privileged information for the sole use of the intended recipient.  Any 
> review, use, distribution, or disclosure by others is strictly prohibited.  
> If you are not the intended recipient (or authorized to receive information 
> for the intended recipient), please contact the sender by reply e-mail and 
> delete all copies of this message.
>
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to