<?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: Type Coercion Failed of the Same Class?</title>
	<atom:link href="http://blog.nobien.net/2009/01/14/type-coercion-failed-of-the-same-class/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.nobien.net/2009/01/14/type-coercion-failed-of-the-same-class/</link>
	<description>A nerd blog about nerdy things by ... nerdy guys?</description>
	<lastBuildDate>Tue, 20 Jul 2010 20:39:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Ufic</title>
		<link>http://blog.nobien.net/2009/01/14/type-coercion-failed-of-the-same-class/comment-page-1/#comment-4772</link>
		<dc:creator>Ufic</dc:creator>
		<pubDate>Wed, 07 Jul 2010 08:58:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nobien.net/?p=112#comment-4772</guid>
		<description>I got same issue and I resolve it defining ApplicationDomain.
Thanks a lot to all!</description>
		<content:encoded><![CDATA[<p>I got same issue and I resolve it defining ApplicationDomain.<br />
Thanks a lot to all!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: esko</title>
		<link>http://blog.nobien.net/2009/01/14/type-coercion-failed-of-the-same-class/comment-page-1/#comment-4665</link>
		<dc:creator>esko</dc:creator>
		<pubDate>Fri, 26 Feb 2010 18:58:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nobien.net/?p=112#comment-4665</guid>
		<description>+10 hours stuck with this error! I was going nuts and had absolutely no clue whatsoever on where to look.
thanks!</description>
		<content:encoded><![CDATA[<p>+10 hours stuck with this error! I was going nuts and had absolutely no clue whatsoever on where to look.<br />
thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: faisal</title>
		<link>http://blog.nobien.net/2009/01/14/type-coercion-failed-of-the-same-class/comment-page-1/#comment-4463</link>
		<dc:creator>faisal</dc:creator>
		<pubDate>Wed, 02 Sep 2009 22:21:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nobien.net/?p=112#comment-4463</guid>
		<description>this is the third time u&#039;ve saved me, dude. ha, u and i need to brainstorm more apparently, because this little tidbit of info would&#039;ve give me 3 hours of my life back.</description>
		<content:encoded><![CDATA[<p>this is the third time u&#8217;ve saved me, dude. ha, u and i need to brainstorm more apparently, because this little tidbit of info would&#8217;ve give me 3 hours of my life back.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://blog.nobien.net/2009/01/14/type-coercion-failed-of-the-same-class/comment-page-1/#comment-4337</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Tue, 02 Jun 2009 14:12:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nobien.net/?p=112#comment-4337</guid>
		<description>&quot;If you’re loading from one domain to another, you may also need to include the SecurityDomain in the loader context.&quot;

Alex, I tried this and it doesn&#039;t work. It seems as though when a swf is loaded from another domain it is ALWAYS a new Application Domain and you can&#039;t convert a class instance in the loaded swf as the same Class. 

It is driving me mental. If anyone knows a solution please tell. I have also tried the ByteArray Class Serialization method and it fails when the swf is on another domain.

The only solution is to declare the instance as an Object and &#039;pretend&#039; the object as the Class instance.</description>
		<content:encoded><![CDATA[<p>&#8220;If you’re loading from one domain to another, you may also need to include the SecurityDomain in the loader context.&#8221;</p>
<p>Alex, I tried this and it doesn&#8217;t work. It seems as though when a swf is loaded from another domain it is ALWAYS a new Application Domain and you can&#8217;t convert a class instance in the loaded swf as the same Class. </p>
<p>It is driving me mental. If anyone knows a solution please tell. I have also tried the ByteArray Class Serialization method and it fails when the swf is on another domain.</p>
<p>The only solution is to declare the instance as an Object and &#8216;pretend&#8217; the object as the Class instance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://blog.nobien.net/2009/01/14/type-coercion-failed-of-the-same-class/comment-page-1/#comment-4325</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Sat, 25 Apr 2009 22:37:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nobien.net/?p=112#comment-4325</guid>
		<description>If you&#039;re loading from one domain to another, you may also need to include the SecurityDomain in the loader context.</description>
		<content:encoded><![CDATA[<p>If you&#8217;re loading from one domain to another, you may also need to include the SecurityDomain in the loader context.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Francis Lukesh</title>
		<link>http://blog.nobien.net/2009/01/14/type-coercion-failed-of-the-same-class/comment-page-1/#comment-4314</link>
		<dc:creator>Francis Lukesh</dc:creator>
		<pubDate>Tue, 07 Apr 2009 14:30:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nobien.net/?p=112#comment-4314</guid>
		<description>Thanks for pointing this out. We ran into this in Flex and had to remember to set myModuleLoaderInstance.applicationDomain = ApplicationDomain.currentDomain.

Also, you&#039;d asked about a code formatter--do you mean for your blog or eclipse? I&#039;ve been liking this: http://sourceforge.net/projects/flexformatter/</description>
		<content:encoded><![CDATA[<p>Thanks for pointing this out. We ran into this in Flex and had to remember to set myModuleLoaderInstance.applicationDomain = ApplicationDomain.currentDomain.</p>
<p>Also, you&#8217;d asked about a code formatter&#8211;do you mean for your blog or eclipse? I&#8217;ve been liking this: <a href="http://sourceforge.net/projects/flexformatter/" rel="nofollow">http://sourceforge.net/projects/flexformatter/</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
