Re: [Flashcoders] Re: Pop up window locally
Thank you, it seems is more stable way. 2010/3/4 Chris Foster cfos...@catalystinteractive.com.au: 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: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] 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 natavi.m...@gmail.com wrote: Mozilla opens pop up correctly. This strange thing happened only on IE 2010/3/3 natalia Vikhtinskaya natavi.m...@gmail.com: 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', '#ff', 'name', 'test', 'menu', 'true', 'allowFullScreen', 'false', 'allowScriptAccess','always', 'movie', 'test', 'salign', '' ); //end AC code } /script 2010/3/3 Nathan Mynarcik nat...@mynarcik.com: 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: flashcoders-boun...@chattyfig.figleaf.com 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 natavi.m...@gmail.com: 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 Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Nathan Mynarcik Interactive Web Developer nat...@mynarcik.com 254.749.2525 www.mynarcik.com ___ 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 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
[Flashcoders] Re: Pop up window locally
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,scrollbars=No,status=No,resizable=No,fullscreen=No');void(0);); this script works in IE and opens pop up window 2010/3/3 natalia Vikhtinskaya natavi.m...@gmail.com: Hi I cannot find solution for this small problem Simple code getURL (javascript:NewWindow=window.open('key16.html','newWin','width=400,height=300,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=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 Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Re: Pop up window locally
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: flashcoders-boun...@chattyfig.figleaf.com 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,scrollbars=No,status=No,resizable=No,fullscreen=No');void(0);); this script works in IE and opens pop up window 2010/3/3 natalia Vikhtinskaya natavi.m...@gmail.com: Hi I cannot find solution for this small problem Simple code getURL (javascript:NewWindow=window.open('key16.html','newWin','width=400,height=300,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=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 Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Nathan Mynarcik Interactive Web Developer nat...@mynarcik.com 254.749.2525 www.mynarcik.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Re: Pop up window locally
Can you test it from HTML? i.e. a hef=javascript:NewWindow -- Kenneth Kawamoto http://www.materiaprima.co.uk/ On 3 March 2010 17:58, natalia Vikhtinskaya natavi.m...@gmail.com wrote: 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,scrollbars=No,status=No,resizable=No,fullscreen=No');void(0);); this script works in IE and opens pop up window 2010/3/3 natalia Vikhtinskaya natavi.m...@gmail.com: Hi I cannot find solution for this small problem Simple code getURL (javascript:NewWindow=window.open('key16.html','newWin','width=400,height=300,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=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 Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Re: Pop up window locally
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#version=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', '#ff', 'name', 'test', 'menu', 'true', 'allowFullScreen', 'false', 'allowScriptAccess','always', 'movie', 'test', 'salign', '' ); //end AC code } /script 2010/3/3 Nathan Mynarcik nat...@mynarcik.com: 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: flashcoders-boun...@chattyfig.figleaf.com 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,scrollbars=No,status=No,resizable=No,fullscreen=No');void(0);); this script works in IE and opens pop up window 2010/3/3 natalia Vikhtinskaya natavi.m...@gmail.com: Hi I cannot find solution for this small problem Simple code getURL (javascript:NewWindow=window.open('key16.html','newWin','width=400,height=300,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=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 Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Nathan Mynarcik Interactive Web Developer nat...@mynarcik.com 254.749.2525 www.mynarcik.com ___ 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] Re: Pop up window locally
Mozilla opens pop up correctly. This strange thing happened only on IE 2010/3/3 natalia Vikhtinskaya natavi.m...@gmail.com: 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#version=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', '#ff', 'name', 'test', 'menu', 'true', 'allowFullScreen', 'false', 'allowScriptAccess','always', 'movie', 'test', 'salign', '' ); //end AC code } /script 2010/3/3 Nathan Mynarcik nat...@mynarcik.com: 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: flashcoders-boun...@chattyfig.figleaf.com 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,scrollbars=No,status=No,resizable=No,fullscreen=No');void(0);); this script works in IE and opens pop up window 2010/3/3 natalia Vikhtinskaya natavi.m...@gmail.com: Hi I cannot find solution for this small problem Simple code getURL (javascript:NewWindow=window.open('key16.html','newWin','width=400,height=300,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=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 Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Nathan Mynarcik Interactive Web Developer nat...@mynarcik.com 254.749.2525 www.mynarcik.com ___ 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] 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 natavi.m...@gmail.com wrote: Mozilla opens pop up correctly. This strange thing happened only on IE 2010/3/3 natalia Vikhtinskaya natavi.m...@gmail.com: 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#version=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', '#ff', 'name', 'test', 'menu', 'true', 'allowFullScreen', 'false', 'allowScriptAccess','always', 'movie', 'test', 'salign', '' ); //end AC code } /script 2010/3/3 Nathan Mynarcik nat...@mynarcik.com: 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: flashcoders-boun...@chattyfig.figleaf.com 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,scrollbars=No,status=No,resizable=No,fullscreen=No');void(0);); this script works in IE and opens pop up window 2010/3/3 natalia Vikhtinskaya natavi.m...@gmail.com: Hi I cannot find solution for this small problem Simple code getURL (javascript:NewWindow=window.open('key16.html','newWin','width=400,height=300,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=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 Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Nathan Mynarcik Interactive Web Developer nat...@mynarcik.com 254.749.2525 www.mynarcik.com ___ 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] Re: Pop up window locally
I publish file in CS3. Test it in IE locally. GetUrl does not open pop up window with url ”file.html” but opens “http://….”. I open source code and save it as another file. This new file opens pop ups with any url. What is this?! 2010/3/3 Fahim Akhter akhter.fa...@gmail.com: 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 natavi.m...@gmail.com wrote: Mozilla opens pop up correctly. This strange thing happened only on IE 2010/3/3 natalia Vikhtinskaya natavi.m...@gmail.com: 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#version=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', '#ff', 'name', 'test', 'menu', 'true', 'allowFullScreen', 'false', 'allowScriptAccess','always', 'movie', 'test', 'salign', '' ); //end AC code } /script 2010/3/3 Nathan Mynarcik nat...@mynarcik.com: 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: flashcoders-boun...@chattyfig.figleaf.com 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,scrollbars=No,status=No,resizable=No,fullscreen=No');void(0);); this script works in IE and opens pop up window 2010/3/3 natalia Vikhtinskaya natavi.m...@gmail.com: Hi I cannot find solution for this small problem Simple code getURL (javascript:NewWindow=window.open('key16.html','newWin','width=400,height=300,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=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 Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Nathan Mynarcik Interactive Web Developer nat...@mynarcik.com 254.749.2525 www.mynarcik.com ___ 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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Re: Pop up window locally
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: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] 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 natavi.m...@gmail.com wrote: Mozilla opens pop up correctly. This strange thing happened only on IE 2010/3/3 natalia Vikhtinskaya natavi.m...@gmail.com: 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', '#ff', 'name', 'test', 'menu', 'true', 'allowFullScreen', 'false', 'allowScriptAccess','always', 'movie', 'test', 'salign', '' ); //end AC code } /script 2010/3/3 Nathan Mynarcik nat...@mynarcik.com: 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: flashcoders-boun...@chattyfig.figleaf.com 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 natavi.m...@gmail.com: 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 Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Nathan Mynarcik Interactive Web Developer nat...@mynarcik.com 254.749.2525 www.mynarcik.com ___ 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 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