<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: External Interface with javascript confirm &#8220;bug&#8221;</title>
	<atom:link href="http://www.randytroppmann.com/2008/02/04/external-interface-with-javascript-confirm-bug/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.randytroppmann.com/2008/02/04/external-interface-with-javascript-confirm-bug/</link>
	<description>Interactive designer / developer • Web • Mobile • Desktop</description>
	<lastBuildDate>Thu, 19 Jan 2012 12:18:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Randy</title>
		<link>http://www.randytroppmann.com/2008/02/04/external-interface-with-javascript-confirm-bug/comment-page-1/#comment-31</link>
		<dc:creator>Randy</dc:creator>
		<pubDate>Wed, 27 Feb 2008 16:46:44 +0000</pubDate>
		<guid isPermaLink="false">http://randytroppmann.com/?p=113#comment-31</guid>
		<description>@Manu: Interesting ... I worked around my problem calling the confirm through javascript before involving Flash which worked for me. I submitted this as a Flash bug to Adobe. You should submit this the the flex bug database.</description>
		<content:encoded><![CDATA[<p>@Manu: Interesting &#8230; I worked around my problem calling the confirm through javascript before involving Flash which worked for me. I submitted this as a Flash bug to Adobe. You should submit this the the flex bug database.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manu</title>
		<link>http://www.randytroppmann.com/2008/02/04/external-interface-with-javascript-confirm-bug/comment-page-1/#comment-30</link>
		<dc:creator>Manu</dc:creator>
		<pubDate>Wed, 27 Feb 2008 11:15:32 +0000</pubDate>
		<guid isPermaLink="false">http://randytroppmann.com/?p=113#comment-30</guid>
		<description>Hello Randy,
I am having the problem you have posted here with some differences.
First of all it&#039;s happening with Flex 3.

To reproduce the problem try to launch from a Flex application a new browser window, with modal property yes, through JavaScript.

Some code to help you:


function launchBrowserWindow()
{
	if (window.showModalDialog)
	{
	window.showModalDialog(&quot;FCKEditor/fckEditor.html&quot;,&quot;name&quot;,&quot;dialogWidth:900px;dialogHeight:560px&quot;);
	} else {
		window.open(&#039;FCKEditor/fckEditor.html&#039;,&#039;Editor de contenidos&#039;,&#039;width=900, height=560, toolbar=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no , modal=no, top=0, left=0&#039;);
	}
}


It seems that having this property, makes the popup not replying to the Flash player, causing the error you commented.

I am trying to have a workaround about this, but I am not having much luck at the moment, maybe having a try{}catch {} statement may help...

Cheers,
Manu</description>
		<content:encoded><![CDATA[<p>Hello Randy,<br />
I am having the problem you have posted here with some differences.<br />
First of all it&#8217;s happening with Flex 3.</p>
<p>To reproduce the problem try to launch from a Flex application a new browser window, with modal property yes, through JavaScript.</p>
<p>Some code to help you:</p>
<p>function launchBrowserWindow()<br />
{<br />
	if (window.showModalDialog)<br />
	{<br />
	window.showModalDialog(&#8220;FCKEditor/fckEditor.html&#8221;,&#8221;name&#8221;,&#8221;dialogWidth:900px;dialogHeight:560px&#8221;);<br />
	} else {<br />
		window.open(&#8216;FCKEditor/fckEditor.html&#8217;,'Editor de contenidos&#8217;,'width=900, height=560, toolbar=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no , modal=no, top=0, left=0&#8242;);<br />
	}<br />
}</p>
<p>It seems that having this property, makes the popup not replying to the Flash player, causing the error you commented.</p>
<p>I am trying to have a workaround about this, but I am not having much luck at the moment, maybe having a try{}catch {} statement may help&#8230;</p>
<p>Cheers,<br />
Manu</p>
]]></content:encoded>
	</item>
</channel>
</rss>

