<?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/"
	>

<channel>
	<title>Thrust Interactive - Blog</title>
	<atom:link href="http://www.thrustinteractive.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.thrustinteractive.com/blog</link>
	<description>We make games that rocket!</description>
	<pubDate>Sat, 21 Aug 2010 00:12:05 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>RSLs on by default in Flex 4</title>
		<link>http://www.thrustinteractive.com/blog/?p=127</link>
		<comments>http://www.thrustinteractive.com/blog/?p=127#comments</comments>
		<pubDate>Fri, 23 Jul 2010 23:20:05 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.thrustinteractive.com/blog/?p=127</guid>
		<description><![CDATA[I just wanted to post about this so I don&#8217;t forget.  I noticed that every time I opened a swf created using the Flex4 SDK, I would get a bunch of errors:
Error #2032: Stream Error. URL: file:///C:/home/projects/blah/textLayout_1.1.0.604.swf
Failed to load RSL textLayout_1.1.0.604.swf
Failing over to RSL http://fpdownload.adobe.com/pub/swz/flex/4.1.0.16076/textLayout_1.1.0.604.swf
Warning: Ignoring ’secure’ attribute in policy file from http://fpdownload.adobe.com/pub/swz/crossdomain.xml.  The ’secure’ [...]]]></description>
			<content:encoded><![CDATA[<p>I just wanted to post about this so I don&#8217;t forget.  I noticed that every time I opened a swf created using the Flex4 SDK, I would get a bunch of errors:</p>
<blockquote><p>Error #2032: Stream Error. URL: file:///C:/home/projects/blah/textLayout_1.1.0.604.swf<span id="more-127"></span><br />
Failed to load RSL textLayout_1.1.0.604.swf<br />
Failing over to RSL http://fpdownload.adobe.com/pub/swz/flex/4.1.0.16076/textLayout_1.1.0.604.swf<br />
Warning: Ignoring ’secure’ attribute in policy file from http://fpdownload.adobe.com/pub/swz/crossdomain.xml.  The ’secure’ attribute is only permitted in HTTPS and socket policy files.  See http://www.adobe.com/go/strict_policy_files for details.<br />
Error #2032: Stream Error. URL: file:///C:/home/projects/blah/osmf_flex.4.0.0.13495.swf<br />
Failed to load RSL osmf_flex.4.0.0.13495.swf<br />
Failing over to RSL http://fpdownload.adobe.com/pub/swz/flex/4.1.0.16076/osmf_flex.4.0.0.13495.swf<br />
Error #2032: Stream Error. URL: file:///C:/home/projects/blah/framework_4.1.0.16076.swf<br />
Failed to load RSL framework_4.1.0.16076.swf<br />
Failing over to RSL http://fpdownload.adobe.com/pub/swz/flex/4.1.0.16076/framework_4.1.0.16076.swf<br />
Error #2032: Stream Error. URL: file:///C:/home/projects/blah/spark_4.1.0.16076.swf<br />
Failed to load RSL spark_4.1.0.16076.swf<br />
Failing over to RSL http://fpdownload.adobe.com/pub/swz/flex/4.1.0.16076/spark_4.1.0.16076.swf<br />
Error #2032: Stream Error. URL: file:///C:/home/projects/blah/sparkskins_4.1.0.16076.swf<br />
Failed to load RSL sparkskins_4.1.0.16076.swf<br />
Failing over to RSL http://fpdownload.adobe.com/pub/swz/flex/4.1.0.16076/sparkskins_4.1.0.16076.swf<br />
Error #2032: Stream Error. URL: file:///C:/home/projects/blah/rpc_4.1.0.16076.swf<br />
Failed to load RSL rpc_4.1.0.16076.swf<br />
Failing over to RSL http://fpdownload.adobe.com/pub/swz/flex/4.1.0.16076/rpc_4.1.0.16076.swf</p></blockquote>
<p>After doing a quick search, I found this post on  <a href="http://butterfliesandbugs.wordpress.com/2009/07/14/rsls-on-my-default-in-flex-4/" target="_blank">RSLs on by default in Flex 4</a>.  Basically <a href="http://livedocs.adobe.com/flex/3/html/help.html?content=rsl_09.html" target="_blank">framework RSL&#8217;s</a> are by default loaded by the swf file that is created when using the Flex4 SDK.  This greatly reduces the file size of the swf file.  If you were to turn it off by setting the following compiler argument:</p>
<blockquote><p>-static-link-runtime-shared-libraries=true</p></blockquote>
<p>Then the swf no longer tries to load those framework RSL&#8217;s and so you don&#8217;t see the errors.  But the file size of the swf jumps up significantly.  Just in a quick test I was working on, it jumped from about 86KB to about 593KB.  That is very significant.</p>
<p>So if you are testing stuff out and don&#8217;t want to see those errors, then set the above argument to true.  But if you are compiling a release version it&#8217;s probably best to have set to false to reduce file size.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thrustinteractive.com/blog/?feed=rss2&amp;p=127</wfw:commentRss>
		</item>
		<item>
		<title>SourceMate</title>
		<link>http://www.thrustinteractive.com/blog/?p=115</link>
		<comments>http://www.thrustinteractive.com/blog/?p=115#comments</comments>
		<pubDate>Fri, 09 Jul 2010 02:37:13 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.thrustinteractive.com/blog/?p=115</guid>
		<description><![CDATA[I was checking out some of the features on the Flash Builder plug-in SourceMate.   Many of the features already exist in FDT (no surprise).  But  SourceMate takes some of those features and does it a little better.   And then there are some features in SourceMate which would be an [...]]]></description>
			<content:encoded><![CDATA[<p>I was checking out some of the <a class="postlink" href="http://www.elementriver.com/sourcemate/features/">features</a> on the Flash Builder plug-in <a class="postlink" href="http://www.elementriver.com/sourcemate/">SourceMate</a>.   Many of the features already exist in FDT (no surprise).  But  SourceMate takes some of those features and does it a little better.   And then there are some features in SourceMate which would be an awesome  addition to FDT.   I am curious<span id="more-115"></span> if the release version of FDT 4 will  have anything like some of the features in SourceMate.</p>
<p>I tried to  see if it was compatible with FDT.   But apparently you have to be using  Flash Builder 4  <img title="Sad" src="http://fdt.powerflasher.com/forum/images/smilies/icon_sad.gif" alt=":(" /> The <a class="postlink" href="http://www.elementriver.com/sourcemate/features/">stuff</a> which I think would be useful are:</p>
<p><strong>Code Generation</strong></p>
<p>* Improved Getter/Setter Generation<br />
* Override/Implements Method Generation<br />
* Generate Constructor From Fields<br />
<span style="text-decoration: line-through;"> * Generate Constructor From Superclass</span><br />
* Generate toString()<br />
<span style="text-decoration: line-through;"> * Generate ASDoc Comments</span></p>
<p><strong>Refactoring</strong></p>
<p>* Extract Constant<br />
* Extract Interface<br />
* Extract Method<br />
* Extract Variable<br />
* Change Method Signature<br />
* Convert Local Variable to Field</p>
<p><strong>Metadata Features</strong></p>
<p>* Metadata Content Assist<br />
* Metadata Tag Validation<br />
* Import/Export Tag Configuration</p>
<p><strong>Code Templates (i.e. Code Snippets)</strong></p>
<p><span style="text-decoration: line-through;"> * Available via Content Assist and Templates View<br />
* Works in Both MXML and AS Files<br />
* Create Custom Templates<br />
* Import, Export, and Share Templates</span></p>
<p><strong>Miscellaneous</strong></p>
<p>* Disable All trace() Statements<br />
* ASDoc Generation Wizard<br />
* Generate Ant build.xml from Project Settings<br />
<span style="text-decoration: line-through;"> * TODO, FIXME, and XXX Task Markers<br />
* Generate Event Handler in Actionscript</span></p>
<p>If the release version of FDT4 doesn&#8217;t get any of these new features, I may have to look into using Flash Builder with SourceMate to see which is the better IDE.<span style="text-decoration: line-through;"><br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thrustinteractive.com/blog/?feed=rss2&amp;p=115</wfw:commentRss>
		</item>
		<item>
		<title>My new debugging tool</title>
		<link>http://www.thrustinteractive.com/blog/?p=100</link>
		<comments>http://www.thrustinteractive.com/blog/?p=100#comments</comments>
		<pubDate>Tue, 06 Jul 2010 16:11:28 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.thrustinteractive.com/blog/?p=100</guid>
		<description><![CDATA[I&#8217;ve checked out Alcon before, but I&#8217;ve always been hesitant to use debugging tools which require you to use something other than trace.  That is why I&#8217;ve always loved using SOSMax.  Lately I have been working with Smartfox Server and it tends to spit out some funky xml traces when you have debug set to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve checked out <a href="http://blog.hexagonstar.com/downloads/alcon/" target="_blank">Alcon</a> before, but I&#8217;ve always been hesitant to use debugging tools which require you to use something other than trace.  That is why I&#8217;ve always loved using <a href="http://www.sos.powerflasher.com/" target="_blank">SOSMax</a>.  Lately I have been working with Smartfox Server and it tends to spit out some funky xml traces when you have debug set to true on the SmartFoxClient.  This unfortunately breaks SOSMax.  So I ran across Alcon again today and <span id="more-100"></span>figured I&#8217;d give it another try.  It&#8217;s actually very nice little tool.  It has some cool features beyond merely printing out the trace messages.  Instead of trace, you use Debug.trace&#8230;..which isn&#8217;t that much more work.  It&#8217;s easy to retro fit that into an existing project.  I also use FDT so it is easy to create some templates for the different debug levels.  If you want them you can get the <a href="http://www.thrustinteractive.com/blog/wp-content/uploads/2010/07/alcon_templates.xml">templates</a> I created.</p>
<p><a href="http://www.thrustinteractive.com/blog/wp-content/uploads/2010/07/alcon_templates.xml"><br />
</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thrustinteractive.com/blog/?feed=rss2&amp;p=100</wfw:commentRss>
		</item>
		<item>
		<title>Making AIR</title>
		<link>http://www.thrustinteractive.com/blog/?p=82</link>
		<comments>http://www.thrustinteractive.com/blog/?p=82#comments</comments>
		<pubDate>Wed, 23 Jun 2010 17:44:31 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.thrustinteractive.com/blog/?p=82</guid>
		<description><![CDATA[So I wanted to delve into the world of making an AIR application.  From what I have heard, it&#8217;s almost as easy as making a Flex application.  But getting things set up wasn&#8217;t as easy as I had hoped.  I spent quite some time searching around the internets trying to find answers to many problems [...]]]></description>
			<content:encoded><![CDATA[<p>So I wanted to delve into the world of making an AIR application.  From what I have heard, it&#8217;s almost as easy as making a Flex application.  But getting things set up wasn&#8217;t as easy as I had hoped.  I spent quite some time searching around the internets trying to find answers to many problems I had.  Fortunately<span id="more-82"></span> someone on the <a href="http://fdt.powerflasher.com/forum/index.php" target="_blank">Powerflasher forum</a> was kind enough to help me out through some of the rough parts.  Check out <a href="http://fdt.powerflasher.com/forum/viewtopic.php?f=21&amp;t=7772&amp;sid=bfa429f769e3b71871f8eeb7d2e1daf6" target="_blank">my post</a> if you are having trouble setting up FDT to create an AIR application.   You will have to jump through some hoops.  Note that I am using FDT 4 M2 at the time of this writing.  I am also using the HelloWorld example from <a href="http://fdt.powerflasher.com/blog/?tag=desktop-application" target="_blank">this blog post</a> (<em>at the bottom of the page</em>).</p>
<p>My Run Configuration for the project are as follows:</p>
<blockquote><p><strong>Main tab</strong></p>
<ul>
<li><em>Project </em>: HelloWorld</li>
<li><em>AIR release file name </em>: publish/HelloWorld.air</li>
</ul>
<p><strong>Application Descriptor</strong></p>
<ul>
<li><em>Application descriptor file </em>: debug/settings/HellowWorld-app.xml</li>
</ul>
<p><strong>Certificate</strong></p>
<p><em>Choose Certificate</em></p>
<ul>
<li><em>Path</em> : debug/settings/exampleCert.pfx</li>
<li><em>Certificate Password</em> : examplePW</li>
</ul>
<p><strong>Assets</strong></p>
<p><em>Include Directory</em></p>
<ul>
<li>assets/icons<em><br />
</em></li>
</ul>
<p><em>Include Files as</em></p>
<ul>
<li><em>File </em>: C:\home\projects\testing\HelloWorld\debug/HelloWorld.swf</li>
</ul>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.thrustinteractive.com/blog/?feed=rss2&amp;p=82</wfw:commentRss>
		</item>
		<item>
		<title>Custom Event Template (FDT)</title>
		<link>http://www.thrustinteractive.com/blog/?p=76</link>
		<comments>http://www.thrustinteractive.com/blog/?p=76#comments</comments>
		<pubDate>Wed, 23 Jun 2010 17:07:10 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.thrustinteractive.com/blog/?p=76</guid>
		<description><![CDATA[I had answered a forum post recently about a custom event template.  It made me remember that I should use this since every time I create a custom class I always have to add the clone method and then add the event type constant(s).  This template will take care of all that very easily.  You [...]]]></description>
			<content:encoded><![CDATA[<p>I had answered a <a href="http://fdt.powerflasher.com/forum/viewtopic.php?f=21&amp;t=7306&amp;p=13940&amp;sid=bfa429f769e3b71871f8eeb7d2e1daf6#p13940" target="_blank">forum post</a> recently about a custom event template.  It made me remember that I should use this since every time I create a custom class I always have to add the clone method and then add the event type constant(s).  This template will take care of all that very easily.  You can get the <a href="http://www.thrustinteractive.com/blog/wp-content/uploads/2010/06/templates.xml">Event Template</a> here.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thrustinteractive.com/blog/?feed=rss2&amp;p=76</wfw:commentRss>
		</item>
		<item>
		<title>Warning: Filter will not render</title>
		<link>http://www.thrustinteractive.com/blog/?p=73</link>
		<comments>http://www.thrustinteractive.com/blog/?p=73#comments</comments>
		<pubDate>Thu, 10 Jun 2010 18:35:32 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.thrustinteractive.com/blog/?p=73</guid>
		<description><![CDATA[As I am working on a project for a client, I ran into this issue with some of the Flash animations that were provided to me by the client.  When I run the animation, it is not visible and I get the warning:
Warning: Filter will not render. The DisplayObject’s filtered dimensions (10173045, 5890430) are too large [...]]]></description>
			<content:encoded><![CDATA[<p>As I am working on a project for a client, I ran into <a href="http://summitprojectsflashblog.wordpress.com/2009/03/24/an-unusual-warning-in-flash-player-1002287/" target="_blank">this issue</a> with some of the Flash animations that were provided to me by the client.  When I run the animation, it is not visible and I get the warning:</p>
<blockquote><p><span style="font-family: mceinline;">Warning: Filter will not render. The DisplayObject’s filtered dimensions (10173045, 5890430) are too large to be drawn.</span></p></blockquote>
<p><span id="more-73"></span>It says my dimensions are in the millions.  I look throughout all the symbols in the animation.  I don&#8217;t see any hidden duplicated display objects anywhere.  I try removing all the filters  in the animation, but it does no good.  I still get the warning.  So I decide to guide out the animations and stick a place holder in there for the time being until the issue could be resolved.  I test it out and I see the place holder.  So then I tried unguiding layers and testing.  Now it works.  So I try removing the place holder graphic&#8230;&#8230;.it does not work.  Very strange.  I wonder if it has something to do with the fact that the animation has empty keyframes.</p>
<p>So if you have this issue, try putting a place holder graphic that spans the entire animation.  I don&#8217;t know why it works, but it does.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thrustinteractive.com/blog/?feed=rss2&amp;p=73</wfw:commentRss>
		</item>
		<item>
		<title>Embed in mass</title>
		<link>http://www.thrustinteractive.com/blog/?p=67</link>
		<comments>http://www.thrustinteractive.com/blog/?p=67#comments</comments>
		<pubDate>Thu, 06 May 2010 14:08:17 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.thrustinteractive.com/blog/?p=67</guid>
		<description><![CDATA[Many of the projects I work on require a ton of embedded images.  I will have dozens if not hundreds of images that  need to be embedded.  It&#8217;s a pain to write out all those embed tags and properties.  Even if you copy and paste other embeds or if you use a code snippet/template, it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>Many of the projects I work on require a ton of embedded images.  I will have dozens if not hundreds of images that  need to be embedded.  It&#8217;s a pain to write out all those embed tags and properties.  Even if you copy and paste other embeds or if you use a code snippet/template, it&#8217;s a very tedious process.  So I wrote up a jsfl script which<span id="more-67"></span> will do it for me.  This script allows you to specify a directory which contain your assets you want to embed, and it generates the embed code for all the assets in the directory.  Then you just copy the code from the output panel and paste it into your project.  It&#8217;s a big time saver.</p>
<p><a href="http://www.thrustinteractive.com/blog/wp-content/uploads/2010/05/generateembedfromdirectory.jsfl">generateembedfromdirectory</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thrustinteractive.com/blog/?feed=rss2&amp;p=67</wfw:commentRss>
		</item>
		<item>
		<title>FlashBug</title>
		<link>http://www.thrustinteractive.com/blog/?p=62</link>
		<comments>http://www.thrustinteractive.com/blog/?p=62#comments</comments>
		<pubDate>Tue, 09 Mar 2010 17:10:13 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://www.thrustinteractive.com/blog/?p=62</guid>
		<description><![CDATA[I&#8217;ve been using SOSMax for a long time.  It is simple, easy to use, and does what I need it to do.  But I ran across a blog on about FlashBug and I was immediately interested when he mentions that he lurvs SOSMax.  So after checking out FlashBug, I think I am going to start [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using SOSMax for a long time.  It is simple, easy to use, and does what I need it to do.  But I ran across <a href="http://troyworks.com/blog/2010/03/08/flashbug-firebug-extended-for-flash/" target="_blank">a blog</a> on about FlashBug and I was immediately interested when he mentions that he lurvs SOSMax.  So after checking out FlashBug, I think I am going to start using it for debugging.  It has some neat <a href="http://blog.coursevector.com/flashbug/" target="_blank">features</a>.  I like that<span id="more-62"></span> you can pretty print xml and html.  The error and warning icons are nice too.  You can check out loaded shared objects and their properties.  Also there is a Policy Log tab which lets you check out what cross domain policy files are loaded.  That is very nice since (<em>as far as I know</em>) there is not any way to tell if your cross domain xml loads successfully or not.</p>
<p>I use FDT for ActionScript editing so I&#8217;ve created a few simple templates for the specific trace filters you can use for FlashBug.</p>
<p><a href="http://www.thrustinteractive.com/blog/wp-content/uploads/2010/03/flashbug_templates.xml">flashbug_templates</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thrustinteractive.com/blog/?feed=rss2&amp;p=62</wfw:commentRss>
		</item>
		<item>
		<title>PerspectiveProjection + MouseEvent</title>
		<link>http://www.thrustinteractive.com/blog/?p=53</link>
		<comments>http://www.thrustinteractive.com/blog/?p=53#comments</comments>
		<pubDate>Fri, 15 Jan 2010 22:10:24 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://www.thrustinteractive.com/blog/?p=53</guid>
		<description><![CDATA[I have been using the new 3D features of Flash 10 in a few projects recently.  It&#8217;s been working great until I needed click on some of those object with 3D transformations on them.  I had a bit of a hard time finding the right phase to search on to see if other people had [...]]]></description>
			<content:encoded><![CDATA[<p>I have been using the new 3D features of Flash 10 in a few projects recently.  It&#8217;s been working great until I needed click on some of those object with 3D transformations on them.  I had a bit of a hard time finding<span id="more-53"></span> the right phase to search on to see if other people had the same problem as me.  Finally after searching on <span style="color: #800000;"><em>PerspectiveProjection + MouseEvent</em></span>, I found what I needed to see.  There is already a <a href="https://bugs.adobe.com/jira/browse/FP-1609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel" target="_blank">Jira ticket for this issue</a>, but it didn&#8217;t offer any good hints to a solution.  After looking through a few links I found <a href="http://forums.adobe.com/thread/422644" target="_blank">this thread</a> on Adobe&#8217;s forum.  Go to the third post and <span class="jiveTT-hover-user jive-username-link">DJ Gecko</span> says:</p>
<blockquote><p><span style="color: #000000;">if you want mouse events you need to apply the rotation properties and PerspectiveProjection to different movie clips</span></p></blockquote>
<p>I had the PerspectiveProjection on the same DisplayObject as I was setting my rotationX and z properties.  I changed the transform to the parent and everything works exactly as planned now.  That was quite frustrating.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thrustinteractive.com/blog/?feed=rss2&amp;p=53</wfw:commentRss>
		</item>
		<item>
		<title>Flex Formatter</title>
		<link>http://www.thrustinteractive.com/blog/?p=34</link>
		<comments>http://www.thrustinteractive.com/blog/?p=34#comments</comments>
		<pubDate>Tue, 22 Dec 2009 21:37:31 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[flash]]></category>

		<category><![CDATA[flex]]></category>

		<guid isPermaLink="false">http://www.thrustinteractive.com/blog/?p=34</guid>
		<description><![CDATA[I have recently started using an nifty utility called Flex Formatter.  I saw a blog post about it on Grant Skinner&#8217;s blog.  I was initially skeptical that it wouldn&#8217;t to much more than what the formatter in FDT is capable of.  I was wrong.  It does a lot more than the FDT formatter.  Unfortunately I [...]]]></description>
			<content:encoded><![CDATA[<p>I have recently started using an nifty utility called Flex Formatter.  I saw a blog post about it on <a href="http://www.gskinner.com/blog/archives/2009/12/indispensable_p.html" target="_blank">Grant Skinner&#8217;s blog</a>.  I was initially skeptical that it wouldn&#8217;t to much more than what the formatter in FDT is capable of.  I was wrong.  It does a lot more than the FDT formatter.  Unfortunately<span id="more-34"></span> I could not install the plugin the way which Grant described in this post (<em>which is the normal way of installing plugins in Eclipse</em>).  Instead I had to download the jar files and stick them in the plug-ins folder for Eclipse.  If you go <a href="http://www.herrodius.com/blog/165" target="_blank">Christophe Herreman&#8217;s blog</a>, he provides a link to the <a href="http://sourceforge.net/projects/flexformatter/" target="_self">jar files</a>.  Once you download them (<em>there are 3 .jar files in the zip</em>), move them into the plug-ins folder where you have your Eclipse installation.  Once you restart Eclipse, you will see the Flex Formatter buttons at the top of Eclipse.  Then you can go into preferences and start editing how you like to format your code.</p>
<p>It is quite powerful.  It has a lot more features than the formatter that comes with FDT.  One of the things I like is that it can rearrange all my methods and properties of my class (<em>in ActionScript classes</em>) so they are in alphabetical order.  And it arranges them together by public, protected, internal, and private.  It&#8217;s pretty sweet.  It also formats your mxml files.  This ability didn&#8217;t exist in Flex Builder or FDT.</p>
<p>But there is a downside.  Flex Formatter is a bit frustrating sometimes.  For some reason it doesn&#8217;t always work.  Specifically on some of my custom ActionScript classes.  When I try to format, it won&#8217;t do anything.  I am using PureMVC in my projects and when I try to format any Mediator or Proxy classes that it does not want to work.  So the work around I do is copy the code into a new class and format it, copy the formatted code, paste it back into my original class, and delete the new class.  This is a pain, but it works.  Has anyone else run into this problem?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thrustinteractive.com/blog/?feed=rss2&amp;p=34</wfw:commentRss>
		</item>
	</channel>
</rss>
