<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Thought Den &#187; allowDomain</title>
	<atom:link href="http://www.thoughtden.co.uk/blog/tag/allowdomain/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thoughtden.co.uk/blog</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 08 Feb 2012 10:23:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Adobe Flash won&#8217;t pick up the phone to MySpace&#8217;s Javascript</title>
		<link>http://www.thoughtden.co.uk/blog/2009/06/adobe-flash-wont-pick-up-the-phone-to-myspaces-javascript/</link>
		<comments>http://www.thoughtden.co.uk/blog/2009/06/adobe-flash-wont-pick-up-the-phone-to-myspaces-javascript/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 13:55:23 +0000</pubDate>
		<dc:creator>Dan Course</dc:creator>
				<category><![CDATA[Discussion]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[allowDomain]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[as2]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[externalinterface]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[myspace]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[social network]]></category>

		<guid isPermaLink="false">http://www.thoughtden.co.uk/blog/?p=312</guid>
		<description><![CDATA[Sometimes we&#8217;ve hit a road-block when we&#8217;re trying to make Flash talk to the External Interface in our MySpace applications. The Flash is having a great time and is more than happy to call Javascript with ExternalInterface when it wants. But when Javascript wants to chat back&#8230; beep beep. &#8220;Please leave a message&#8221;. Flash appears [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes we&#8217;ve hit a road-block when we&#8217;re trying to make Flash talk to the External Interface in our MySpace applications.</p>
<p>The Flash is having a great time and is more than happy to call Javascript with ExternalInterface when it wants. But when Javascript wants to chat back&#8230; beep beep. &#8220;Please leave a message&#8221;.</p>
<p><img class="alignnone size-thumbnail wp-image-313" title="Flash loves Javascript Heart" src="http://www.thoughtden.co.uk/blog/wp-content/uploads/2009/06/645px-love_heart_svg_svg-150x150.png" alt="Flash loves Javascript Heart" width="150" height="150" /></p>
<p>Flash appears to ignore the call, and leaves Javascipt in an error state and needing ice-cream.</p>
<p>To help you avoid that little relationship problem here&#8217;s the fix to the problem. Add the following to your code,</p>
<p><strong>System.security.allowDomain(&#8220;*.msappspace.com&#8221;);<br />
System.security.allowDomain(&#8220;*.yourdomain.co.uk&#8221;);</strong></p>
<p>Flash&#8217;s Sandbox is set to divert <strong>all</strong> calls by default and blocks any chat. However as soon as you&#8217;ve added the allowDomain. Flash shouts, &#8220;HELLO!&#8221;, and it&#8217;s all back on again.</p>
<p>One big happy social networking family.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thoughtden.co.uk/blog/2009/06/adobe-flash-wont-pick-up-the-phone-to-myspaces-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

