<?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>zedia flash blog &#187; bug</title>
	<atom:link href="http://www.zedia.net/tag/bug/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zedia.net</link>
	<description>Flash, ActionScript, SEO and everything in between</description>
	<lastBuildDate>Thu, 02 Feb 2012 17:58:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>A bug nearly got me today</title>
		<link>http://www.zedia.net/2008/a-bug-nearly-got-me-today/</link>
		<comments>http://www.zedia.net/2008/a-bug-nearly-got-me-today/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 04:10:47 +0000</pubDate>
		<dc:creator>zedia.net</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[bug]]></category>

		<guid isPermaLink="false">http://www.zedia.net/2008/a-bug-nearly-got-me-today/</guid>
		<description><![CDATA[I spent most of today fighting this incredible bug and it nearly got me. At some point I even admitted defeat, which I never usually do. But while trying to circumvent the said bug, I found its Achilles&#8217; heel and nailed it. It tried to bring me with it to the other side by grabbing [...]]]></description>
			<content:encoded><![CDATA[<p>I spent most of today fighting this incredible bug and it nearly got me. At some point I even admitted defeat, which I never usually do. But while trying to circumvent the said bug, I found its Achilles&#8217; heel and nailed it. It tried to bring me with it to the other side by grabbing my sanity, but I stood strong and in the end I thrived.</p>
<p>Seriously I was stuck all day on this problem that I couldn&#8217;t solve and it was a pretty one. I searched the web to find answers but sometimes your problem is so tricky that you don&#8217;t know how to describe it. Well describing it is already a good step into solving a problem, because you know what the problem is. Mine was that, I was handing over some SWF files to some third party and the file on their part wasn&#8217;t behaving the same way than on our side.</p>
<p>At first, I was thinking the problem came from their side as it was working properly on ours but I was wrong. After I thought it was a question of cache; browser and server, but that wasn&#8217;t right too. No it was way trickier than this.</p>
<p>I had 2 SWF files one loading the other. What I didn&#8217;t know was that they both compiled some ActionScript classes even if one of them definitely didn&#8217;t need them ( I didn&#8217;t created that thing). So in the application their was a duplication definition for those classes and the Flash player was just using one of the definition, the loader one not the loaded. The modification I needed to do was only on the loaded and I didn&#8217;t need to compile the loader so once the loaded file was inside the loader I couldn&#8217;t see the changes that was done in the duplicated classes. I really was pulling my hairs and all I needed to do was to compile the loader file.</p>
<p>I think that&#8217;s where experience kicks in; I sure will know when some changes don&#8217;t appear in a loaded file to look for duplicate definition of classes. Oh well I came out stronger. I don&#8217;t know if this post will help anyone but it sure got today&#8217;s frustration out of my chest.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zedia.net/2008/a-bug-nearly-got-me-today/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

