<?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: The Secret Life of SWFs: Flex 2&#8217;s undocumented SwfxPrinter tool</title>
	<atom:link href="http://joeberkovitz.com/blog/2007/04/08/secret-life-of-swfs/feed/" rel="self" type="application/rss+xml" />
	<link>http://joeberkovitz.com/blog/2007/04/08/secret-life-of-swfs/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 28 Dec 2009 08:44:01 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Anthony Sapien</title>
		<link>http://joeberkovitz.com/blog/2007/04/08/secret-life-of-swfs/comment-page-1/#comment-71335</link>
		<dc:creator>Anthony Sapien</dc:creator>
		<pubDate>Sat, 14 Nov 2009 05:48:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.joeberkovitz.com/blog/?p=41#comment-71335</guid>
		<description>Thanks so much for finding and writing about this. I just reduced a Flash project by 25%.</description>
		<content:encoded><![CDATA[<p>Thanks so much for finding and writing about this. I just reduced a Flash project by 25%.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joe</title>
		<link>http://joeberkovitz.com/blog/2007/04/08/secret-life-of-swfs/comment-page-1/#comment-113</link>
		<dc:creator>joe</dc:creator>
		<pubDate>Wed, 22 Oct 2008 21:48:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.joeberkovitz.com/blog/?p=41#comment-113</guid>
		<description>Phil, it&#039;s a colon on MacOS/UNIX but a semicolon on Windows.  we&#039;re both right!</description>
		<content:encoded><![CDATA[<p>Phil, it&#8217;s a colon on MacOS/UNIX but a semicolon on Windows.  we&#8217;re both right!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil Crosby</title>
		<link>http://joeberkovitz.com/blog/2007/04/08/secret-life-of-swfs/comment-page-1/#comment-112</link>
		<dc:creator>Phil Crosby</dc:creator>
		<pubDate>Wed, 22 Oct 2008 21:40:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.joeberkovitz.com/blog/?p=41#comment-112</guid>
		<description>First line of your article should be:

java -classpath asc.jar:swfkit.jar flash.swf.tools.SwfxPrinter [options] swfFilename

(replace semicolon with colon)</description>
		<content:encoded><![CDATA[<p>First line of your article should be:</p>
<p>java -classpath asc.jar:swfkit.jar flash.swf.tools.SwfxPrinter [options] swfFilename</p>
<p>(replace semicolon with colon)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Soph-Ware Associates &#124; Blog</title>
		<link>http://joeberkovitz.com/blog/2007/04/08/secret-life-of-swfs/comment-page-1/#comment-114</link>
		<dc:creator>Soph-Ware Associates &#124; Blog</dc:creator>
		<pubDate>Mon, 10 Dec 2007 23:25:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.joeberkovitz.com/blog/?p=41#comment-114</guid>
		<description>[...] while ago, I ran across a post by Joe Berkovitz that talks about Flex&#8217;s undocumented SwfxPrinter tool. After looking at the [...]</description>
		<content:encoded><![CDATA[<p>[...] while ago, I ran across a post by Joe Berkovitz that talks about Flex&#8217;s undocumented SwfxPrinter tool. After looking at the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TroyWorks &#38;#187; Blog Archive &#38;#187; Sketch: View Controller separation, MovieClip.addFrameScript</title>
		<link>http://joeberkovitz.com/blog/2007/04/08/secret-life-of-swfs/comment-page-1/#comment-111</link>
		<dc:creator>TroyWorks &#38;#187; Blog Archive &#38;#187; Sketch: View Controller separation, MovieClip.addFrameScript</dc:creator>
		<pubDate>Wed, 29 Aug 2007 05:15:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.joeberkovitz.com/blog/?p=41#comment-111</guid>
		<description>[...] http://joeberkovitz.com/blog/2007/04/08/secret-life-of-swfs/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://joeberkovitz.com/blog/2007/04/08/secret-life-of-swfs/" rel="nofollow">http://joeberkovitz.com/blog/2007/04/08/secret-life-of-swfs/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joe</title>
		<link>http://joeberkovitz.com/blog/2007/04/08/secret-life-of-swfs/comment-page-1/#comment-110</link>
		<dc:creator>joe</dc:creator>
		<pubDate>Thu, 24 May 2007 14:26:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.joeberkovitz.com/blog/?p=41#comment-110</guid>
		<description>At this point, I&#039;ve switched my tool development to work off of the mxmlc Link Report XML file, since it&#039;s a bit more accessible and easier to work with.  That also has font information in it.

I need to find time to get the app into a state where it&#039;s usable.  One problem is that it&#039;s running on an unreleased beta of Apollo right now.  Eventually it&#039;ll get into a state where other folks can run with it though.</description>
		<content:encoded><![CDATA[<p>At this point, I&#8217;ve switched my tool development to work off of the mxmlc Link Report XML file, since it&#8217;s a bit more accessible and easier to work with.  That also has font information in it.</p>
<p>I need to find time to get the app into a state where it&#8217;s usable.  One problem is that it&#8217;s running on an unreleased beta of Apollo right now.  Eventually it&#8217;ll get into a state where other folks can run with it though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://joeberkovitz.com/blog/2007/04/08/secret-life-of-swfs/comment-page-1/#comment-109</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Thu, 24 May 2007 11:42:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.joeberkovitz.com/blog/?p=41#comment-109</guid>
		<description>Hi Joe,

This is fantastic. Since you aren&#039;t continuing with SWFX dev, may I ask that you release what you do have for that so I can take it up and build a font-lister for swf files? With complex projects comprising multiple swc&#039;s (some Flash, some Flex), fonts can become hairy very very quickly.

A tool which quickly shows what fonts are defined for a given SWF/SWC is golden at times like this!

Thanks for sharing such wonderful advice!</description>
		<content:encoded><![CDATA[<p>Hi Joe,</p>
<p>This is fantastic. Since you aren&#8217;t continuing with SWFX dev, may I ask that you release what you do have for that so I can take it up and build a font-lister for swf files? With complex projects comprising multiple swc&#8217;s (some Flash, some Flex), fonts can become hairy very very quickly.</p>
<p>A tool which quickly shows what fonts are defined for a given SWF/SWC is golden at times like this!</p>
<p>Thanks for sharing such wonderful advice!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joe</title>
		<link>http://joeberkovitz.com/blog/2007/04/08/secret-life-of-swfs/comment-page-1/#comment-108</link>
		<dc:creator>joe</dc:creator>
		<pubDate>Mon, 09 Apr 2007 13:45:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.joeberkovitz.com/blog/?p=41#comment-108</guid>
		<description>A brief followup on link reports: for pure size and dependency analysis, these are better than the SWFX output since they combine the salient SWFX details with the dependencies in a pure XML format without comments.  Also, they can easily be created as a byproduct of an existing compilation process.  So I&#039;m probably going to base ongoing SizeAnalyzer work on the link report instead.

The SWFX dump is still a unique resource for establishing what else is going on in the file with respect to fonts, font glyphs, graphics/shapes, embeds, SystemManager overhead, and so on.  And it does work on regular Flash SWFs, for which link reports are not available AFAIK.</description>
		<content:encoded><![CDATA[<p>A brief followup on link reports: for pure size and dependency analysis, these are better than the SWFX output since they combine the salient SWFX details with the dependencies in a pure XML format without comments.  Also, they can easily be created as a byproduct of an existing compilation process.  So I&#8217;m probably going to base ongoing SizeAnalyzer work on the link report instead.</p>
<p>The SWFX dump is still a unique resource for establishing what else is going on in the file with respect to fonts, font glyphs, graphics/shapes, embeds, SystemManager overhead, and so on.  And it does work on regular Flash SWFs, for which link reports are not available AFAIK.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joe</title>
		<link>http://joeberkovitz.com/blog/2007/04/08/secret-life-of-swfs/comment-page-1/#comment-107</link>
		<dc:creator>joe</dc:creator>
		<pubDate>Mon, 09 Apr 2007 13:37:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.joeberkovitz.com/blog/?p=41#comment-107</guid>
		<description>A few quick responses to questions that arrived this morning--
&lt;br/&gt;
Brian, thanks for the observation re optimization and code size, I knew there was some obvious reason for the SWC/SWF discrepancy but I didn&#039;t think of the optimizer.  (I knew it wasn&#039;t debug b/c I turned that off first!)
&lt;br/&gt;
Theo, it sounds like I should be looking at link reports as well (or instead) for size analysis purposes.  It certainly is odd that the sizes are in comments in SWFX dumps, but comments are optionally preserved by most DOM APIs including E4X.
&lt;br/&gt;
As far as compression goes, I have established through experiment that compiled AS3 code on average takes about 43% of the space of uncompressed code; this gives a rule-of-thumb adjustment for size yields.  For fonts, it&#039;s about 72%.  These numbers come from extracting subranges of the file as indicated from the SWFX dump and doing gzip compression on them.  One could use that technique for individual classes too; I should probably try a few random classes to see if they differ much from the average.</description>
		<content:encoded><![CDATA[<p>A few quick responses to questions that arrived this morning&#8211;<br />
<br />
Brian, thanks for the observation re optimization and code size, I knew there was some obvious reason for the SWC/SWF discrepancy but I didn&#8217;t think of the optimizer.  (I knew it wasn&#8217;t debug b/c I turned that off first!)<br />
<br />
Theo, it sounds like I should be looking at link reports as well (or instead) for size analysis purposes.  It certainly is odd that the sizes are in comments in SWFX dumps, but comments are optionally preserved by most DOM APIs including E4X.<br />
<br />
As far as compression goes, I have established through experiment that compiled AS3 code on average takes about 43% of the space of uncompressed code; this gives a rule-of-thumb adjustment for size yields.  For fonts, it&#8217;s about 72%.  These numbers come from extracting subranges of the file as indicated from the SWFX dump and doing gzip compression on them.  One could use that technique for individual classes too; I should probably try a few random classes to see if they differ much from the average.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicolas</title>
		<link>http://joeberkovitz.com/blog/2007/04/08/secret-life-of-swfs/comment-page-1/#comment-106</link>
		<dc:creator>Nicolas</dc:creator>
		<pubDate>Mon, 09 Apr 2007 12:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.joeberkovitz.com/blog/?p=41#comment-106</guid>
		<description>Interesting. As for your SizeAnalyser, you should be careful to take into account SWF compression. It&#039;s actually quite difficult to know the exact size a class is taking in a SWF, since you could take into account its dependencies, and the actual size difference of the compressed SWF with and without this class.</description>
		<content:encoded><![CDATA[<p>Interesting. As for your SizeAnalyser, you should be careful to take into account SWF compression. It&#8217;s actually quite difficult to know the exact size a class is taking in a SWF, since you could take into account its dependencies, and the actual size difference of the compressed SWF with and without this class.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
