<?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>Bill Richards &#187; Actionscript 2.0</title>
	<atom:link href="http://www.wrichards.com/blog/category/flash/actionscript2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wrichards.com/blog</link>
	<description>a developer&#039;s blog</description>
	<lastBuildDate>Tue, 20 Jul 2010 16:32:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Error calling method on NPObject!</title>
		<link>http://www.wrichards.com/blog/2009/02/error-calling-method-on-npobject/</link>
		<comments>http://www.wrichards.com/blog/2009/02/error-calling-method-on-npobject/#comments</comments>
		<pubDate>Thu, 12 Feb 2009 21:56:41 +0000</pubDate>
		<dc:creator>Bill</dc:creator>
				<category><![CDATA[Actionscript 2.0]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[ExternalInterface]]></category>
		<category><![CDATA[Flash 8]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[NPObject]]></category>

		<guid isPermaLink="false">http://www.wrichards.com/blog/?p=73</guid>
		<description><![CDATA[Have you seen this error? If you work with Flash actionscript and Javascript, you probably have. It can be pretty frustrating the first time you see this error since it&#8217;s not very informative. In my experience, this happened when I was trying to communicate with actionscript via Javascript using ExternalInterface call. The problem was sure [...]]]></description>
			<content:encoded><![CDATA[<p>Have you seen this error? If you work with Flash actionscript and Javascript, you probably have. It can be pretty frustrating the first time you see this error since it&#8217;s not very informative. In my experience, this happened when I was trying to communicate with actionscript via Javascript using <a href="http://www.google.com/url?sa=U&#038;start=1&#038;q=http://livedocs.adobe.com/flash/8/main/00002200.html&#038;ei=vpqUSY6yBqCImQfy7Nz_CQ&#038;usg=AFQjCNESo87OXey_CGP4Q6qDF3vmjSSc1Q">ExternalInterface</a> call. The problem was sure enough a security issue with Flash. The solution for &#8220;Error calling method on NPObject!&#8221; is to add:</p>
<p><code>System.security.allowDomain("mydomain.com");</code> </p>
<p>Add this to the Flash file you&#8217;re communicating with. Keep in mind that <strong><em>www.mydomain.com</em></strong> is different from <strong><em>mydomain.com</em></strong> to Flash.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wrichards.com/blog/2009/02/error-calling-method-on-npobject/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
