<?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>Barely Concealed Narcissism &#187; howto</title>
	<atom:link href="http://www.gaboosh.com/blog/tag/howto/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gaboosh.com/blog</link>
	<description></description>
	<lastBuildDate>Thu, 26 Jan 2012 13:35:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Generating Flash Style “Size Reports” in Flex Builder</title>
		<link>http://www.gaboosh.com/blog/2009/12/generating-flash-style-size-reports-in-flex-builder/</link>
		<comments>http://www.gaboosh.com/blog/2009/12/generating-flash-style-size-reports-in-flex-builder/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 00:48:07 +0000</pubDate>
		<dc:creator>gaboosh</dc:creator>
				<category><![CDATA[Flash Tips]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[tinkered with]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://www.gaboosh.com/blog/?p=219</guid>
		<description><![CDATA[As I continue the transition from building ActionScript executions in Flash to going with a Flex-only method, I came across something I hadn&#8217;t tried in Flex before: size reports. The Flex debugger provides an &#8220;uncompressed&#8221; size of your application in &#8230;]]></description>
			<content:encoded><![CDATA[<p>As I continue the transition from building ActionScript executions in Flash to going with a Flex-only method, I came across something I hadn&#8217;t tried in Flex before: size reports.</p>
<p>The Flex debugger provides an &#8220;uncompressed&#8221; size of your application in the trace output, but there&#8217;s no obvious way in the UI to show that breakdown. Being that Flex&#8217;s guts are in the command line, however, that&#8217;s where we can generate the size report.</p>
<p>If you check out your project preferences, click on ActionScript Compiler and add the following to the text field under &#8220;Additional compiler arguments:&#8221;</p>
<blockquote><p>-link-report output.xml</p></blockquote>
<p>where &#8220;output.xml&#8221; is the path to the file generated.</p>
<p><a href="http://www.gaboosh.com/blog/wp-content/uploads/2009/12/project_dropdown.png"><img class="aligncenter size-medium wp-image-220" title="project_dropdown" src="http://www.gaboosh.com/blog/wp-content/uploads/2009/12/project_dropdown-247x300.png" alt="project_dropdown" width="247" height="300" /></a><a href="http://www.gaboosh.com/blog/wp-content/uploads/2009/12/compiler.png"><img class="aligncenter size-full wp-image-221" title="compiler" src="http://www.gaboosh.com/blog/wp-content/uploads/2009/12/compiler.png" alt="compiler" width="288" height="176" /></a></p>
<p>Once you&#8217;ve got your file (which is really a thorough report on class linkage and more), though, you&#8217;re not yet done; if you open it up and take a look, it&#8217;s quite confusing.</p>
<p><a href="http://www.gaboosh.com/blog/wp-content/uploads/2009/12/size-report.png"><img class="aligncenter size-full wp-image-224" title="size-report" src="http://www.gaboosh.com/blog/wp-content/uploads/2009/12/size-report.png" alt="size-report" width="447" height="214" /></a></p>
<p>Fortunately, there are a couple apps that will parse and clearly display the size report. I haven&#8217;t really tested them fully, but both look promising:</p>
<blockquote><p><a href="http://code.google.com/p/it-depends/">ItDepends</a> by Joe Berkovitz</p>
<p><a href="http://www.kahunaburger.com/2008/03/08/air-link-report-visualizer/">AIR Link Report Visualizer</a> by kahunaburger</p></blockquote>
<p>h/t to <a href="http://www.timwalling.com/">Tim Walling</a> for help on this</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gaboosh.com/blog/2009/12/generating-flash-style-size-reports-in-flex-builder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

