<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: The Secret Life of SWFs: Flex 2&#8217;s undocumented SwfxPrinter tool</title>
	<link>http://www.joeberkovitz.com/blog/2007/04/08/secret-life-of-swfs/</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Thu, 21 Aug 2008 15:13:52 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: Soph-Ware Associates &#124; Blog</title>
		<link>http://www.joeberkovitz.com/blog/2007/04/08/secret-life-of-swfs/#comment-2189</link>
		<dc:creator>Soph-Ware Associates &#124; Blog</dc:creator>
		<pubDate>Mon, 10 Dec 2007 23:25:42 +0000</pubDate>
		<guid>http://www.joeberkovitz.com/blog/2007/04/08/secret-life-of-swfs/#comment-2189</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>[&#8230;] while ago, I ran across a post by Joe Berkovitz that talks about Flex&#8217;s undocumented SwfxPrinter tool. After looking at the [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TroyWorks &#38;#187; Blog Archive &#38;#187; Sketch: View Controller separation, MovieClip.addFrameScript</title>
		<link>http://www.joeberkovitz.com/blog/2007/04/08/secret-life-of-swfs/#comment-1774</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>http://www.joeberkovitz.com/blog/2007/04/08/secret-life-of-swfs/#comment-1774</guid>
		<description>[...] http://joeberkovitz.com/blog/2007/04/08/secret-life-of-swfs/ [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] <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> [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joe</title>
		<link>http://www.joeberkovitz.com/blog/2007/04/08/secret-life-of-swfs/#comment-1773</link>
		<dc:creator>joe</dc:creator>
		<pubDate>Thu, 24 May 2007 14:26:26 +0000</pubDate>
		<guid>http://www.joeberkovitz.com/blog/2007/04/08/secret-life-of-swfs/#comment-1773</guid>
		<description>At this point, I've switched my tool development to work off of the mxmlc Link Report XML file, since it'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's usable.  One problem is that it's running on an unreleased beta of Apollo right now.  Eventually it'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://www.joeberkovitz.com/blog/2007/04/08/secret-life-of-swfs/#comment-1772</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Thu, 24 May 2007 11:42:48 +0000</pubDate>
		<guid>http://www.joeberkovitz.com/blog/2007/04/08/secret-life-of-swfs/#comment-1772</guid>
		<description>Hi Joe,

This is fantastic. Since you aren'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'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://www.joeberkovitz.com/blog/2007/04/08/secret-life-of-swfs/#comment-1771</link>
		<dc:creator>joe</dc:creator>
		<pubDate>Mon, 09 Apr 2007 13:45:54 +0000</pubDate>
		<guid>http://www.joeberkovitz.com/blog/2007/04/08/secret-life-of-swfs/#comment-1771</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'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://www.joeberkovitz.com/blog/2007/04/08/secret-life-of-swfs/#comment-1770</link>
		<dc:creator>joe</dc:creator>
		<pubDate>Mon, 09 Apr 2007 13:37:08 +0000</pubDate>
		<guid>http://www.joeberkovitz.com/blog/2007/04/08/secret-life-of-swfs/#comment-1770</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't think of the optimizer.  (I knew it wasn'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'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://www.joeberkovitz.com/blog/2007/04/08/secret-life-of-swfs/#comment-1769</link>
		<dc:creator>Nicolas</dc:creator>
		<pubDate>Mon, 09 Apr 2007 12:08:00 +0000</pubDate>
		<guid>http://www.joeberkovitz.com/blog/2007/04/08/secret-life-of-swfs/#comment-1769</guid>
		<description>Interesting. As for your SizeAnalyser, you should be careful to take into account SWF compression. It'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>
	<item>
		<title>By: Tom Lee</title>
		<link>http://www.joeberkovitz.com/blog/2007/04/08/secret-life-of-swfs/#comment-1768</link>
		<dc:creator>Tom Lee</dc:creator>
		<pubDate>Mon, 09 Apr 2007 02:36:14 +0000</pubDate>
		<guid>http://www.joeberkovitz.com/blog/2007/04/08/secret-life-of-swfs/#comment-1768</guid>
		<description>Just awesome.  Any chance you'll be releasing the Apollo app?  How'd you figure all this stuff out?</description>
		<content:encoded><![CDATA[<p>Just awesome.  Any chance you&#8217;ll be releasing the Apollo app?  How&#8217;d you figure all this stuff out?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Shiue&#38;#8217;s Blog &#38;#187; Blog Archive &#38;#187; Excellent Flex Extensions</title>
		<link>http://www.joeberkovitz.com/blog/2007/04/08/secret-life-of-swfs/#comment-1767</link>
		<dc:creator>Robert Shiue&#38;#8217;s Blog &#38;#187; Blog Archive &#38;#187; Excellent Flex Extensions</dc:creator>
		<pubDate>Mon, 09 Apr 2007 01:16:52 +0000</pubDate>
		<guid>http://www.joeberkovitz.com/blog/2007/04/08/secret-life-of-swfs/#comment-1767</guid>
		<description>[...] Undocumented Component : SwfxPrinter [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Undocumented Component : SwfxPrinter [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Theo</title>
		<link>http://www.joeberkovitz.com/blog/2007/04/08/secret-life-of-swfs/#comment-1766</link>
		<dc:creator>Theo</dc:creator>
		<pubDate>Sun, 08 Apr 2007 16:58:41 +0000</pubDate>
		<guid>http://www.joeberkovitz.com/blog/2007/04/08/secret-life-of-swfs/#comment-1766</guid>
		<description>On the topic of link report visualizing, take a look at my post on the subject:

http://blog.iconara.net/2007/02/25/visualizing-mxmlcs-link-report/

I find it odd that the sizes are in comments in the SWFX files, it makes them harder to retrieve using XSL or DOM-programming.</description>
		<content:encoded><![CDATA[<p>On the topic of link report visualizing, take a look at my post on the subject:</p>
<p><a href="http://blog.iconara.net/2007/02/25/visualizing-mxmlcs-link-report/" rel="nofollow">http://blog.iconara.net/2007/02/25/visualizing-mxmlcs-link-report/</a></p>
<p>I find it odd that the sizes are in comments in the SWFX files, it makes them harder to retrieve using XSL or DOM-programming.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
