<?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>Enigmatic Thought &#187; 360Flex</title>
	<atom:link href="http://blog.enigmaticthought.com/tag/360flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.enigmaticthought.com</link>
	<description>import com.enigmaticThought.blog;</description>
	<lastBuildDate>Fri, 25 Jun 2010 19:54:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Bug hunting in the Flex SDK (part 1)</title>
		<link>http://blog.enigmaticthought.com/2009/07/bug-hunting-fx-1/</link>
		<comments>http://blog.enigmaticthought.com/2009/07/bug-hunting-fx-1/#comments</comments>
		<pubDate>Mon, 27 Jul 2009 16:42:53 +0000</pubDate>
		<dc:creator>Matt C</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[360Flex]]></category>
		<category><![CDATA[FlexSDK]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[svn]]></category>
		<guid isPermaLink="false">http://enigmaticthought.com/?p=134</guid>
		<description><![CDATA[At the 360&#124;Flex BugQuash, I discovered that killing bugs in the Flex framework can actually be easier that trying to decipher some bugs in my own code. How is that possible? Thanks to Adobe&#8217;s bug system, some problems are already solved for you, it&#8217;s just a matter of initiative to submit the fix to Adobe. [...]]]></description>
			<content:encoded><![CDATA[<p>At the 360|Flex <a href="http://www.bugquash.com/">BugQuash</a>, I discovered that killing bugs in the Flex framework can actually be easier that trying to decipher some bugs in my own code.  How is that possible?  Thanks to <a href="https://bugs.adobe.com/flex/">Adobe&#8217;s bug system</a>, some problems are already solved for you, it&#8217;s just a matter of initiative to submit the fix to Adobe. Of course it&#8217;s not just that easy because there are a few hoops to jump through, but they&#8217;re not flaming, and are at ground level.  The BugQuash even has a <a href="http://bugquash.com/documents/Flex_BugQuash_PEK.pdf">Pre-Event Kit</a> that gets you ready as well.  Since Flex 4 is about to go through another cycle, it&#8217;s a great time to either fix a nagging bug in Flex 3 (and let it merge down to Flex 4) or, if your feeling feisty, jump into the Flex 4 world.  I&#8217;m going to put this out in multiple parts so I can hit the details.</p>
<p>The first step is to get familiar with the <a href="http://opensource.adobe.com/wiki/display/flexsdk/Developer+Documentation">Flex SDK</a>.  If you&#8217;re a Flex developer, you&#8217;re likely already there, but you haven&#8217;t gotten your hands dirty inside the SDK code.  Maybe you&#8217;ve monkey patched a flex bug.  Regardless, working with the SDK is key to the bug fix.</p>
<p>I&#8217;m working on a windows client, so I am going to talk windows on the SDK setup.  Fortunately, it&#8217;s easier to get up and running on OS X thanks to it&#8217;s Unix roots. </p>
<ol>
<li>Download the <a href="http://opensource.adobe.com/wiki/display/flexsdk/Get+Source+Code">Source Code</a>. That means getting into the subversion database itself and checking out the latest code there.
<ol>
<li>Install <a href="http://tortoisesvn.tigris.org/">TortiseSVN</a>, a tool that uses windows explorer as the window to the source control world.</li>
<li>Create a directory (I used C:\osFlexSDK) to svn the source code to.</li>
<li>Download <a href="http://opensource.adobe.com/wiki/download/attachments/2392224/flex-svn.zip?version=1">Adobe&#8217;s Flex project skeleton</a> and unzip it to the directory.  This will give you the trunk, branches, &#038; tags directories</li>
<li>(for Flex 4 work) navigate to the flex\sdk folder and right click on the trunk.  Select &#8220;SVN Update&#8221;</li>
<li>(for Flex 3 work) right click on the branches directory and hover over &#8220;Tortoise SVN&#8221; and select repo-browser. right click on the 3.x folder and select checkout.  Click &#8220;OK&#8221;.</li>
</ol>
</li>
<li>Now that we have the source, it&#8217;s time to make sure <a href="http://opensource.adobe.com/wiki/display/flexsdk/Setup">we can build it</a>.  This is where I tripped up and saw some others tripped up at the BugQuash. Building should be a simple affair, especially since it&#8217;s just running ant from the command line.  I&#8217;m using Adobe&#8217;s <a href="http://opensource.adobe.com/wiki/display/flexsdk/Setup+on+Windows">Setup on Windows</a> guide as a baseline.
<ol>
<li>Install <a href="http://www.cygwin.com/">Cygwin</a>.  The key is on the screen where you select the directory.  On the bottom right of the screen there is a selection for Default Text File Type.  You must select DOS/text.<br />
<img src="http://enigmaticthought.com/blog/wp-content/uploads/2009/07/CygwinInstall-300x234.png" alt="Cygwin Install" title="Cygwin Install" width="300" height="234" class="alignnone size-medium wp-image-135" /></li>
<li>Install the proper Java SDK for your build <a href="http://java.sun.com/products/archive/j2se/1.4.2_14/index.html">2.4.2_14</a> into C:\j2sdk1.4.2_14 for Flex 3 and <a href="http://java.sun.com/products/archive/j2se/5.0_13/index.html">5.0_13</a> into C:\Program Files\Java\jdk1.5.0_13 for Flex 4</li>
<li>Install Ant (a straight unzip) for your build <a href="http://archive.apache.org/dist/ant/binaries/apache-ant-1.6.2-bin.zip">1.6.2</a> unzipped into C:/apache-ant-1.6.2/ for Flex 3 and <a href="http://archive.apache.org/dist/ant/binaries/apache-ant-1.7.0-bin.zip">1.7.0</a> unzipped into C:/apache-ant-1.7.0/ for Flex 4</li>
</ol>
</li>
<li>Now rig up the flash player for development use.
<ol>
<li>Create the mm.cfg file in the C:\Documents and Settings\<username> directory if needed and add the following lines to it:
<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left2">Download <a href="http://blog.enigmaticthought.com/wp-content/plugins/wp-codebox/wp-codebox.php?p=134&amp;download=mm.cfg">mm.cfg</a></span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p1343"><td class="code" id="p134code3"><pre class="text" style="font-family:monospace;">ErrorReportingEnable=1
TraceOutputFileEnable=1</pre></td></tr></table></div>
</li>
<li>navigate to the C:\WINDOWS\system32\Macromed\Flash directory.  Create a FlashPlayerTrust directory is there isn&#8217;t one there already and create a FlexSDK.cfg file with the following line:
<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left2">Download <a href="http://blog.enigmaticthought.com/wp-content/plugins/wp-codebox/wp-codebox.php?p=134&amp;download=FlexSDK.cfg">FlexSDK.cfg</a></span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p1344"><td class="code" id="p134code4"><pre class="text" style="font-family:monospace;">C:\</pre></td></tr></table></div>
<p>You can change drives or even directories if you aren&#8217;t using the C drive for development, or even have multiple drives.  Adobe suggests being as restrictive as possible for security reasons.</li>
</ol>
</li>
<li>Test your setup.  This is the &#8220;easiest&#8221; part since it&#8217;s pretty much a pass/fail.
<ol>
<li>Run cygwin shell and navigate to the folder you want to build.  Note: All drives are under /cygdrive so c:\osFlexSDK\flex\sdk\trunk is /cygdrive/c/osFlexSDK/flex/sdk/trunk.</li>
<li>Type &#8220;source setup.sh&#8217; to set up the environment variables</li>
<li>Test Java by typing &#8220;java -version&#8221; and make sure you&#8217;re on the right version for your build.  If it reports and error, make sure you installed Java in the correct directory.</li>
<li>Test ant by typing &#8220;ant-version&#8221; and make sure you&#8217;re on the right version for your build. If it reports and error, make sure you unzipped ant in the correct directory.</li>
<li>If everything checks out, type &#8220;ant&#8221; and let the build happen</li>
</ol>
</li>
<li>You should now have a built Flex SDK in the bin directory.  Congratulations!</li>
</ol>
<p>This is continued in <a href="http://enigmaticthought.com/2009/07/bug-hunting-fx-2/">part 2</a><br />
<h3 class='related_post_title'>Related Posts (generated):</h3>
<ul class='related_post'>
<li><a href='http://enigmaticthought.com/2009/07/flash-builder-4-delay-doesnt-impact-catalyst/' title='Flash Builder 4 delay doesn&#8217;t impact Catalyst'>Flash Builder 4 delay doesn&#8217;t impact Catalyst</a></li>
<li><a href='http://enigmaticthought.com/2009/07/autobuilding-from-a-svn-repository/' title='Autobuilding a Flex app from an svn repository'>Autobuilding a Flex app from an svn repository</a></li>
<li><a href='http://enigmaticthought.com/2009/05/bug-quash/' title='Bug Quash'>Bug Quash</a></li>
<li><a href='http://enigmaticthought.com/2009/11/scientific-notation-patch-accepted/' title='Scientific Notation Patch Accepted'>Scientific Notation Patch Accepted</a></li>
<li><a href='http://enigmaticthought.com/2009/08/flex-open-iteration-meeting-2/' title='Flex OIM review'>Flex OIM review</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.enigmaticthought.com/2009/07/bug-hunting-fx-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash Builder 4 delay doesn&#8217;t impact Catalyst</title>
		<link>http://blog.enigmaticthought.com/2009/07/flash-builder-4-delay-doesnt-impact-catalyst/</link>
		<comments>http://blog.enigmaticthought.com/2009/07/flash-builder-4-delay-doesnt-impact-catalyst/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 15:27:13 +0000</pubDate>
		<dc:creator>Matt C</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[360Flex]]></category>
		<category><![CDATA[Catalyst]]></category>
		<category><![CDATA[FlexSDK]]></category>
		<category><![CDATA[programming]]></category>
		<guid isPermaLink="false">http://enigmaticthought.com/?p=129</guid>
		<description><![CDATA[With the news that the Flex 4 beta is going to have a sequal which will delay Flex 4 &#038; Flash Builder 4 until 2010 you may wonder about Catalyst. Since the fancy demo at 360, I&#8217;m looking forward to playing with it. Especially since Matt Chotin promised the code it produced would actually be [...]]]></description>
			<content:encoded><![CDATA[<p>With the news that <a href="http://blogs.adobe.com/flex/archives/2009/07/flex_4_beta_update_1.html">the Flex 4 beta is going to have a sequal</a> which will delay Flex 4 &#038; Flash Builder 4 until 2010 you may wonder about <a href="http://labs.adobe.com/technologies/flashcatalyst/">Catalyst</a>.  Since the fancy demo at 360, I&#8217;m looking forward to playing with it.  Especially since Matt Chotin promised the code it produced would actually be usable.  Well, <a href="http://blog.simb.net/">Simon Bateman</a> mentioned both Flex &#038; Catalyst via <a href="http://twitter.com/simBateman/status/2749526844">Twitter</a> whether the change would impact Catalyst, and Chotin replied <a href="http://twitter.com/mchotin/status/2751220674">Just to clarify, this date change doesn&#8217;t affect Catalyst</a>.  I assume that means Catalyst wasn&#8217;t going to show up until next year anyway since it&#8217;s &#8220;Based on the open source Flex 4 Framework&#8221;.<br />
<h3 class='related_post_title'>Related Posts (generated):</h3>
<ul class='related_post'>
<li><a href='http://enigmaticthought.com/2009/08/flex-open-iteration-meeting-2/' title='Flex OIM review'>Flex OIM review</a></li>
<li><a href='http://enigmaticthought.com/2009/07/bug-hunting-fx-1/' title='Bug hunting in the Flex SDK (part 1)'>Bug hunting in the Flex SDK (part 1)</a></li>
<li><a href='http://enigmaticthought.com/2009/05/bug-quash/' title='Bug Quash'>Bug Quash</a></li>
<li><a href='http://enigmaticthought.com/2009/11/scientific-notation-patch-accepted/' title='Scientific Notation Patch Accepted'>Scientific Notation Patch Accepted</a></li>
<li><a href='http://enigmaticthought.com/2009/08/flex-open-iteration-meeting/' title='Flex Open Iteration Meeting'>Flex Open Iteration Meeting</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.enigmaticthought.com/2009/07/flash-builder-4-delay-doesnt-impact-catalyst/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cairngorm v. Mate: why can&#8217;t we be friends?</title>
		<link>http://blog.enigmaticthought.com/2009/07/cairngorm-v-mate-why-cant-we-be-friends/</link>
		<comments>http://blog.enigmaticthought.com/2009/07/cairngorm-v-mate-why-cant-we-be-friends/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 15:06:18 +0000</pubDate>
		<dc:creator>Matt C</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[360Flex]]></category>
		<category><![CDATA[Cairngorm]]></category>
		<category><![CDATA[Mate]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[PureMVC]]></category>
		<category><![CDATA[swiz]]></category>
		<guid isPermaLink="false">http://enigmaticthought.com/?p=124</guid>
		<description><![CDATA[At Flex Pasta there was an interesting post ( Mate Framework: Should it be the new standard in Flex 4?) about Mate and how it should overtake Cairngorm as the framework of choice for Flex developers.  I know it was the choice at the Charity Code Jam at 360&#124;Flex Indy.  When talking frameworks no one [...]]]></description>
			<content:encoded><![CDATA[<p>At <a href="http://www.flexpasta.com/">Flex Pasta</a> there was an interesting post (<a href="http://www.flexpasta.com/index.php/2009/07/16/mate-framework-should-it-be-the-new-standard-in-flex-4/"> Mate Framework: Should it be the new standard in Flex 4?</a>) about <a href="http://mate.asfusion.com/">Mate</a> and how it should overtake <a href="http://opensource.adobe.com/wiki/display/cairngorm/Cairngorm">Cairngorm</a> as the framework of choice for Flex developers.  I know it was the choice at the <a href="http://www.charitycodejam.com/">Charity Code Jam</a> at 360|Flex Indy.  When talking frameworks no one really wanted to go down the Cairngorm road, primarily due to time constraints.  Unfortunately, we ran into a different problem, no one really knew Mate, at least well enough to really drive things until the single &#8220;Mate Expert&#8221; that had championed the framework returned.  I know that has nothing to do with Mate&#8217;s feasibility, but it left a somewhat bad taste in my mouth.  I still plan to learn about Mate, but it&#8217;s not on my rush list.</p>
<p>So, while Brian is gung-ho about Mate, I&#8217;m much more hesitant.  I know Cairngorm and all my current projects use it.  The conversion from Cairngorm to Mate may be impossible (or at least overwhelmingly difficult) in my current work environment.  There&#8217;s also the barrier to knowledge of the team, having to change mindsets from the singleton pattern to an injection pattern.  However, for new projects what is the choice?</p>
<p>His biggest pro-Mate point seemed to be a point for Cairngorm in my book.  Mate has had 17 releases in the past year, while there are no Cairngorm releases and only 15 commits to its subversion repository.  That tells me Cairngorm is either dead, stable, or both.  Since I&#8217;m sitting next to a Book (<a href="http://www.amazon.com/gp/product/0470223642?ie=UTF8&amp;tag=enigmthoug-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0470223642">Professional Adobe Flex 3</a>) published in the last month with a 4 chapter section on Cairngorm, I&#8217;m pretty sure it&#8217;s not dead.  Brian also says the code is quite stable but there isn&#8217;t a 1.0 release.  I think 17 releases and &#8220;hundreds of commits&#8221; tells another story.  Those commits are either bug fixes or features but it&#8217;s obvious they&#8217;re still working on the code.  Nothing wrong with that, Rome wasn&#8217;t built in a day.</p>
<p>Interestingly, he talks about Cairngorm as if it&#8217;s the default Flex framework.  However, <a href="http://www.adobe.com/devnet/flex/articles/flex_framework.html">this article on choosing a framework</a>, hosted on Adobe&#8217;s Developer Connect site, talks about 4 frameworks (Cairngorm, Mate, <a href="http://puremvc.org/">PureMVC</a>, &amp; <a href="http://code.google.com/p/swizframework/">Swiz</a>) with pros and cons of each.  Of the four, I&#8217;ve only dealt with Cairngorm enough to use it effectively.  Other than my Mate experience at 360|Flex, I haven&#8217;t really done anything with it.  I&#8217;d used PureMVC in a little learning side project but only succeeded in confusing myself until I &#8220;got&#8221; it and realized that I was doing a lot of things wrong.  Rather than rework something I didn&#8217;t have any real need for I just let it slide.</p>
<p>I think the idea of Cairngorm being the &#8220;Adobe Framework&#8221; has more to do with it&#8217;s pervasive nature across projects due to the &#8220;first out of the gate&#8221; status and being hosted on Adobe&#8217;s servers.  There&#8217;s nothing that forces Cairngorm on people, it&#8217;s just a result of the age.  If Mate&#8217;s future is as bright as it looked at 360|Flex I&#8217;m sure we&#8217;ll see someone blogging about Mate being &#8220;old and dusty&#8221; in the future while some hot new framework is breaking ground somewhere else.  Just don&#8217;t complain when Mate is stable and doesn&#8217;t need a new release every month.<br />
<h3 class='related_post_title'>Related Posts (generated):</h3>
<ul class='related_post'>
<li><a href='http://enigmaticthought.com/2009/07/bug-hunting-fx-1/' title='Bug hunting in the Flex SDK (part 1)'>Bug hunting in the Flex SDK (part 1)</a></li>
<li><a href='http://enigmaticthought.com/2009/07/flash-builder-4-delay-doesnt-impact-catalyst/' title='Flash Builder 4 delay doesn&#8217;t impact Catalyst'>Flash Builder 4 delay doesn&#8217;t impact Catalyst</a></li>
<li><a href='http://enigmaticthought.com/2009/05/back-from-360flex/' title='Back from 360Flex'>Back from 360Flex</a></li>
<li><a href='http://enigmaticthought.com/2009/05/bug-quash/' title='Bug Quash'>Bug Quash</a></li>
<li><a href='http://enigmaticthought.com/2010/06/flash-debug-crashing-in-firefox/' title='Flash Debug crashing in Firefox?'>Flash Debug crashing in Firefox?</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.enigmaticthought.com/2009/07/cairngorm-v-mate-why-cant-we-be-friends/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Back from 360Flex</title>
		<link>http://blog.enigmaticthought.com/2009/05/back-from-360flex/</link>
		<comments>http://blog.enigmaticthought.com/2009/05/back-from-360flex/#comments</comments>
		<pubDate>Wed, 27 May 2009 22:27:35 +0000</pubDate>
		<dc:creator>Matt C</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[360Flex]]></category>
		<guid isPermaLink="false">http://enigmaticthought.com/?p=98</guid>
		<description><![CDATA[I highly recommend the 360 Flex conference. Unfortunately there won&#8217;t be another one until next year (in the past they&#8217;ve been semiannual affairs). My experience was great, with to little sleep and a who lot of Flex. I did some work in the charity code jam and, as you can see in the previous post, [...]]]></description>
			<content:encoded><![CDATA[<p>I highly recommend the <a href="http://www.360flex.com/">360 Flex conference</a>.  Unfortunately there won&#8217;t be another one until next year (in the past they&#8217;ve been semiannual affairs).  My experience was great, with to little sleep and a who lot of Flex.  I did some work in the <a href="http://www.charitycodejam.com/">charity code jam</a> and, as you can see in the <a href="http://enigmaticthought.com/2009/05/bug-quash/">previous post</a>, quashed some bugs.  I&#8217;ve got lots of frameworks to check out once my workload lightens up.  I came back to a herd of bug reports since we&#8217;re in the testing phase of our current product.</p>
<p>Next week is a real vacation, so I know I&#8217;m not going to get much done, but I would like to do some write ups on some of the frameworks that intrigued me at 360Flex.  Here&#8217;s what&#8217;s on my plate:</p>
<ul>
<li><a href="http://axiis.org/">Axiis</a>, a data visualization framework</li>
<li><a href="http://structuredlogs.com/">Structured Log Testing</a>, a logging system allowing external applications to plug in an pull logs.</li>
<li><a href="http://www.degrafa.org/">Degrafa</a>, we already use it, but I really don&#8217;t know all the ins and outs</li>
<li><a href="http://code.google.com/p/birdeye/">BirdEye</a>, another data visualization framework.  Mentioned at the Degrafa talk</li>
</ul>
<p>That&#8217;ll keep me busy, plus I&#8217;ve already got a Mashup in mind, so I&#8217;ll be digging through <a href="http://www.programmableweb.com/">Programmable Web</a> at some point as well.</p>
<h3 class='related_post_title'>Related Posts (generated):</h3>
<ul class='related_post'>
<li><a href='http://enigmaticthought.com/2009/07/bug-hunting-fx-1/' title='Bug hunting in the Flex SDK (part 1)'>Bug hunting in the Flex SDK (part 1)</a></li>
<li><a href='http://enigmaticthought.com/2009/07/flash-builder-4-delay-doesnt-impact-catalyst/' title='Flash Builder 4 delay doesn&#8217;t impact Catalyst'>Flash Builder 4 delay doesn&#8217;t impact Catalyst</a></li>
<li><a href='http://enigmaticthought.com/2009/07/cairngorm-v-mate-why-cant-we-be-friends/' title='Cairngorm v. Mate: why can&#8217;t we be friends?'>Cairngorm v. Mate: why can&#8217;t we be friends?</a></li>
<li><a href='http://enigmaticthought.com/2009/05/bug-quash/' title='Bug Quash'>Bug Quash</a></li>
<li><a href='http://enigmaticthought.com/2010/06/flash-debug-crashing-in-firefox/' title='Flash Debug crashing in Firefox?'>Flash Debug crashing in Firefox?</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.enigmaticthought.com/2009/05/back-from-360flex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bug Quash</title>
		<link>http://blog.enigmaticthought.com/2009/05/bug-quash/</link>
		<comments>http://blog.enigmaticthought.com/2009/05/bug-quash/#comments</comments>
		<pubDate>Tue, 19 May 2009 13:34:25 +0000</pubDate>
		<dc:creator>Matt C</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[360Flex]]></category>
		<category><![CDATA[BugQuash]]></category>
		<category><![CDATA[FlexSDK]]></category>
		<guid isPermaLink="false">http://enigmaticthought.com/?p=93</guid>
		<description><![CDATA[I participated in the Bug Quash at 360&#124;Flex. Well, technically it was a day before the conference as a pre-conference event. It went really well and I personally killed 3 bugs. SDK-21202 was the fix to a pet bug of my friend at Flex Ninja which he pretty much assigned to me when he heard [...]]]></description>
			<content:encoded><![CDATA[<p>I participated in the <a href="http://bugquash.com/">Bug Quash</a> at <a href="http://www.360flex.org/">360|Flex</a>.  Well, technically it was a day before the conference as a pre-conference event.  It went really well and I personally killed 3 bugs.</p>
<ul>
<li><a href="https://bugs.adobe.com/jira/browse/SDK-21202">SDK-21202</a> was the fix to a pet bug of my friend at <a href="http://flexninja.com/">Flex Ninja</a> which he pretty much assigned to me when he heard I was going.  The problem is that event listeners of NavBar children aren&#8217;t removed, which means if you change a label or icon or such on a child that was removed, the function will be called but then you&#8217;ll get a crash since the child is no longer there.  It was easier since the workaround was already there as well.</li>
<li><a href="https://bugs.adobe.com/jira/browse/SDK-21204">SDK-21204</a> was the same bug, only with accordians.  <a href="http://frishy.blogspot.com/">Ryan Frishberg</a> actually pointed this out to me, which meant another similar fix.   Ryan was at the Quash from adobe to help speed up the patch acceptance process, but he also discovered that a strange guy (me) would be harassing him to look at stuff.</li>
<li><a href="https://bugs.adobe.com/jira/browse/SDK-21211">SDK-21211</a> was an interesting bug to look at.  It turns out that there wasn&#8217;t a default setting for the border of tooltips.  Even better, the border is what triggered the drawing of the background box.  That meant if you used any non-standard border, you&#8217;d loose the background.  The fix was pretty easy, just make the default value for a tooltip border &#8220;toolTipBorder&#8221; the default all the time, not just when the border is set to &#8220;toolTipBorder&#8221;.</li>
</ul>
<p>Final Thoughts?  Flex SDK Bugs actually aren&#8217;t that bad to fix.  You just have to find stuff that&#8217;s simple and try not to overthink what&#8217;s going on.  Then submit a patch and hope it&#8217;s accepted.  It&#8217;s a little overwhelming to look at the entire SDK, but you don&#8217;t have to worry about the whole thing, just deal with your little window, monkey patch a fix first in a simple Flex project (some bugs even have test cases you can use) then once the patch works, tie it back into the SDK itself.</p>
<p>I submitted another patch (<a href="https://bugs.adobe.com/jira/browse/SDK-21207">SDK-21207</a>) which was rejected, but it had some nice feedback.  I&#8217;ll probably revisit it and try it again sometime in the future.<br />
<h3 class='related_post_title'>Related Posts (generated):</h3>
<ul class='related_post'>
<li><a href='http://enigmaticthought.com/2009/11/scientific-notation-patch-accepted/' title='Scientific Notation Patch Accepted'>Scientific Notation Patch Accepted</a></li>
<li><a href='http://enigmaticthought.com/2009/08/objectutil-compare-patch-3-with-feeling/' title='ObjectUtil.compare() Patch 3 (with feeling!)'>ObjectUtil.compare() Patch 3 (with feeling!)</a></li>
<li><a href='http://enigmaticthought.com/2009/07/bug-hunting-fx-3/' title='Bug hunting in the Flex SDK (part 3)'>Bug hunting in the Flex SDK (part 3)</a></li>
<li><a href='http://enigmaticthought.com/2009/07/bug-hunting-fx-2/' title='Bug hunting in the Flex SDK (part 2)'>Bug hunting in the Flex SDK (part 2)</a></li>
<li><a href='http://enigmaticthought.com/2009/07/bug-hunting-fx-1/' title='Bug hunting in the Flex SDK (part 1)'>Bug hunting in the Flex SDK (part 1)</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.enigmaticthought.com/2009/05/bug-quash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
