<?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: Getting JavaScript variables into your Flex applications using the ExternalInterface API</title>
	<atom:link href="http://blog.flexexamples.com/2008/04/11/getting-javascript-variables-into-your-flex-applications-using-the-externalinterface-api/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2008/04/11/getting-javascript-variables-into-your-flex-applications-using-the-externalinterface-api/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Mon, 13 Feb 2012 01:38:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2008/04/11/getting-javascript-variables-into-your-flex-applications-using-the-externalinterface-api/comment-page-1/#comment-8094</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Fri, 09 Jul 2010 23:58:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/04/11/getting-javascript-variables-into-your-flex-applications-using-the-externalinterface-api/#comment-8094</guid>
		<description>@kumar,

Try running the example from an HTTP:// address rather than file:/// address.

Peter</description>
		<content:encoded><![CDATA[<p>@kumar,</p>
<p>Try running the example from an HTTP:// address rather than file:/// address.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kumar</title>
		<link>http://blog.flexexamples.com/2008/04/11/getting-javascript-variables-into-your-flex-applications-using-the-externalinterface-api/comment-page-1/#comment-8090</link>
		<dc:creator>Kumar</dc:creator>
		<pubDate>Fri, 09 Jul 2010 09:06:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/04/11/getting-javascript-variables-into-your-flex-applications-using-the-externalinterface-api/#comment-8090</guid>
		<description>I took the same  mxml file and ran.
On IE 6 its working ...  But Its failing If I run this example in Firefox.
Following is the error its showing up.
SecurityError: Error #2060: Security sandbox violation: ExternalInterface caller file:///D:/Flex/FindBrowser/bin-debug/FindBrowser.swf cannot access file:///D:/Flex/FindBrowser/bin-debug/FindBrowser.html.
	at flash.external::ExternalInterface$/_initJS()
	at flash.external::ExternalInterface$/call()
	at FindBrowser/init()[D:\Flex\FindBrowser\src\FindBrowser.mxml:14]
	at FindBrowser/___FindBrowser_Application1_creationComplete()[D:\Flex\FindBrowser\src\FindBrowser.mxml:7]
	at flash.events::EventDispatcher/dispatchEventFunction()
	at flash.events::EventDispatcher/dispatchEvent()
	at mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9440]
	at mx.core::UIComponent/set initialized()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\core\UIComponent.as:1168]
	at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:718]
	at Function/http://adobe.com/AS3/2006/builtin::apply()
	at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8744]
	at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8684]

Please help me out.</description>
		<content:encoded><![CDATA[<p>I took the same  mxml file and ran.<br />
On IE 6 its working &#8230;  But Its failing If I run this example in Firefox.<br />
Following is the error its showing up.<br />
SecurityError: Error #2060: Security sandbox violation: ExternalInterface caller file:///D:/Flex/FindBrowser/bin-debug/FindBrowser.swf cannot access file:///D:/Flex/FindBrowser/bin-debug/FindBrowser.html.<br />
	at flash.external::ExternalInterface$/_initJS()<br />
	at flash.external::ExternalInterface$/call()<br />
	at FindBrowser/init()[D:\Flex\FindBrowser\src\FindBrowser.mxml:14]<br />
	at FindBrowser/___FindBrowser_Application1_creationComplete()[D:\Flex\FindBrowser\src\FindBrowser.mxml:7]<br />
	at flash.events::EventDispatcher/dispatchEventFunction()<br />
	at flash.events::EventDispatcher/dispatchEvent()<br />
	at mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9440]<br />
	at mx.core::UIComponent/set initialized()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\core\UIComponent.as:1168]<br />
	at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:718]<br />
	at Function/http://adobe.com/AS3/2006/builtin::apply()<br />
	at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8744]<br />
	at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8684]</p>
<p>Please help me out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kenny</title>
		<link>http://blog.flexexamples.com/2008/04/11/getting-javascript-variables-into-your-flex-applications-using-the-externalinterface-api/comment-page-1/#comment-7803</link>
		<dc:creator>Kenny</dc:creator>
		<pubDate>Thu, 27 May 2010 17:07:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/04/11/getting-javascript-variables-into-your-flex-applications-using-the-externalinterface-api/#comment-7803</guid>
		<description>Don&#039;t try the clever stuff, they don&#039;t work all the time, especially on IE.  Even the unclever stuff don&#039;t work on IE sometimes.  IE is just a piece of crap</description>
		<content:encoded><![CDATA[<p>Don&#8217;t try the clever stuff, they don&#8217;t work all the time, especially on IE.  Even the unclever stuff don&#8217;t work on IE sometimes.  IE is just a piece of crap</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: miChou</title>
		<link>http://blog.flexexamples.com/2008/04/11/getting-javascript-variables-into-your-flex-applications-using-the-externalinterface-api/comment-page-1/#comment-7766</link>
		<dc:creator>miChou</dc:creator>
		<pubDate>Fri, 21 May 2010 08:31:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/04/11/getting-javascript-variables-into-your-flex-applications-using-the-externalinterface-api/#comment-7766</guid>
		<description>@Stanislav, Zeba: IE uses a different tag for embedding Flash contents, &lt;embed/&gt;. See http://www.verticalmoon.com/tutorials/general/flashhtml/flashhtml.htm</description>
		<content:encoded><![CDATA[<p>@Stanislav, Zeba: IE uses a different tag for embedding Flash contents, &lt;embed/&gt;. See <a href="http://www.verticalmoon.com/tutorials/general/flashhtml/flashhtml.htm" rel="nofollow">http://www.verticalmoon.com/tutorials/general/flashhtml/flashhtml.htm</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stanisalv</title>
		<link>http://blog.flexexamples.com/2008/04/11/getting-javascript-variables-into-your-flex-applications-using-the-externalinterface-api/comment-page-1/#comment-6817</link>
		<dc:creator>Stanisalv</dc:creator>
		<pubDate>Thu, 21 Jan 2010 14:38:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/04/11/getting-javascript-variables-into-your-flex-applications-using-the-externalinterface-api/#comment-6817</guid>
		<description>it didnot work for me in FF 3.5 also :(</description>
		<content:encoded><![CDATA[<p>it didnot work for me in FF 3.5 also :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zeba</title>
		<link>http://blog.flexexamples.com/2008/04/11/getting-javascript-variables-into-your-flex-applications-using-the-externalinterface-api/comment-page-1/#comment-3078</link>
		<dc:creator>Zeba</dc:creator>
		<pubDate>Thu, 30 Apr 2009 10:30:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/04/11/getting-javascript-variables-into-your-flex-applications-using-the-externalinterface-api/#comment-3078</guid>
		<description>I tried running the above example..and it worked fine....
But when I integrated the .swf in an .html file within the &lt;object&gt; tag as:
&lt;pre class=&quot;code&quot;&gt;
&lt;object id=&quot;swfembed&quot; codebase=&quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0&quot; width=&quot;100%&quot; height=&quot;100%&quot;&gt;
			&lt;param name=&quot;movie&quot; value=&quot;bin/testbanner.swf&quot; /&gt;
			&lt;param name=&quot;quality&quot; value=&quot;high&quot; /&gt;
			&lt;param name=&quot;allowScriptAccess&quot; value=&quot;always&quot; /&gt;
			&lt;param name=&quot;wmode&quot; value=&quot;opaque&quot;/&gt;
			&lt;embed id=&quot;swfembed&quot;
                          name=&quot;swfembed&quot;
                          src=&quot;bin/testbanner.swf&quot;
                          quality=&quot;high&quot;
                          pluginspage=&quot;http://www.macromedia.com/go/getflashplayer&quot;
                          allowScriptAccess=&quot;always&quot;
                          wmode=&quot;transparent&quot;
                          quality=&quot;high&quot;
                          width=&quot;100%&quot;
                          height=&quot;100%&quot;&gt;
                        &lt;/embed&gt;
&lt;/object&gt;
&lt;/pre&gt;

It worked fine with Mozilla but not in IE6/7!!   :(
What needs to be done???</description>
		<content:encoded><![CDATA[<p>I tried running the above example..and it worked fine&#8230;.<br />
But when I integrated the .swf in an .html file within the &lt;object&gt; tag as:</p>
<pre class="code">
&lt;object id="swfembed" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="100%" height="100%"&gt;
			&lt;param name="movie" value="bin/testbanner.swf" /&gt;
			&lt;param name="quality" value="high" /&gt;
			&lt;param name="allowScriptAccess" value="always" /&gt;
			&lt;param name="wmode" value="opaque"/&gt;
			&lt;embed id="swfembed"
                          name="swfembed"
                          src="bin/testbanner.swf"
                          quality="high"
                          pluginspage="http://www.macromedia.com/go/getflashplayer"
                          allowScriptAccess="always"
                          wmode="transparent"
                          quality="high"
                          width="100%"
                          height="100%"&gt;
                        &lt;/embed&gt;
&lt;/object&gt;
</pre>
<p>It worked fine with Mozilla but not in IE6/7!!   :(<br />
What needs to be done???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barathrumm</title>
		<link>http://blog.flexexamples.com/2008/04/11/getting-javascript-variables-into-your-flex-applications-using-the-externalinterface-api/comment-page-1/#comment-3080</link>
		<dc:creator>barathrumm</dc:creator>
		<pubDate>Thu, 27 Nov 2008 13:11:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/04/11/getting-javascript-variables-into-your-flex-applications-using-the-externalinterface-api/#comment-3080</guid>
		<description>hey lakshmikanth reddy

In the HTML tag that embeds your SWF, check its PARAM tag for the property -
allowScriptAccess. It should not have a &quot;never&quot; as a value. It can have
something like &quot;sameDomain&quot;.</description>
		<content:encoded><![CDATA[<p>hey lakshmikanth reddy</p>
<p>In the HTML tag that embeds your SWF, check its PARAM tag for the property -<br />
allowScriptAccess. It should not have a &#8220;never&#8221; as a value. It can have<br />
something like &#8220;sameDomain&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barathrumm</title>
		<link>http://blog.flexexamples.com/2008/04/11/getting-javascript-variables-into-your-flex-applications-using-the-externalinterface-api/comment-page-1/#comment-3079</link>
		<dc:creator>barathrumm</dc:creator>
		<pubDate>Tue, 16 Sep 2008 07:37:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/04/11/getting-javascript-variables-into-your-flex-applications-using-the-externalinterface-api/#comment-3079</guid>
		<description>thx saved me a bunch of time =)</description>
		<content:encoded><![CDATA[<p>thx saved me a bunch of time =)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lakshmikanth reddy</title>
		<link>http://blog.flexexamples.com/2008/04/11/getting-javascript-variables-into-your-flex-applications-using-the-externalinterface-api/comment-page-1/#comment-3081</link>
		<dc:creator>lakshmikanth reddy</dc:creator>
		<pubDate>Wed, 06 Aug 2008 06:26:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/04/11/getting-javascript-variables-into-your-flex-applications-using-the-externalinterface-api/#comment-3081</guid>
		<description>i am getting the following error if i try to run this application , how to overcome it ?


SecurityError: Error #2060: Security sandbox violation: ExternalInterface caller file:///C:/FlexProjects/javascript_FLEX/bin/javascript_FLEX.swf cannot access file:///C:/FlexProjects/javascript_FLEX/bin/javascript_FLEX.html.
	at flash.external::ExternalInterface$/_initJS()
	at flash.external::ExternalInterface$/call()
	at javascript_FLEX/init()[C:\FlexProjects\javascript_FLEX\javascript_FLEX.mxml:14]
	at javascript_FLEX/___javascript_FLEX_Application1_creationComplete()[C:\FlexProjects\javascript_FLEX\javascript_FLEX.mxml:7]
	at flash.events::EventDispatcher/dispatchEventFunction()
	at flash.events::EventDispatcher/dispatchEvent()
	at mx.core::UIComponent/dispatchEvent()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:9051]
	at mx.core::UIComponent/set initialized()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:1167]
	at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:698]
	at Function/http://adobe.com/AS3/2006/builtin::apply()</description>
		<content:encoded><![CDATA[<p>i am getting the following error if i try to run this application , how to overcome it ?</p>
<p>SecurityError: Error #2060: Security sandbox violation: ExternalInterface caller file:///C:/FlexProjects/javascript_FLEX/bin/javascript_FLEX.swf cannot access file:///C:/FlexProjects/javascript_FLEX/bin/javascript_FLEX.html.<br />
	at flash.external::ExternalInterface$/_initJS()<br />
	at flash.external::ExternalInterface$/call()<br />
	at javascript_FLEX/init()[C:\FlexProjects\javascript_FLEX\javascript_FLEX.mxml:14]<br />
	at javascript_FLEX/___javascript_FLEX_Application1_creationComplete()[C:\FlexProjects\javascript_FLEX\javascript_FLEX.mxml:7]<br />
	at flash.events::EventDispatcher/dispatchEventFunction()<br />
	at flash.events::EventDispatcher/dispatchEvent()<br />
	at mx.core::UIComponent/dispatchEvent()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:9051]<br />
	at mx.core::UIComponent/set initialized()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:1167]<br />
	at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:698]<br />
	at Function/http://adobe.com/AS3/2006/builtin::apply()</p>
]]></content:encoded>
	</item>
</channel>
</rss>

