<?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: Announcing MXHR4AS3: Multipart/mixed-file download by Flash clients</title>
	<atom:link href="http://www.barklund.org/blog/2009/09/04/mxhr4as3-multipart-mixed-file-download-flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.barklund.org/blog/2009/09/04/mxhr4as3-multipart-mixed-file-download-flash/</link>
	<description>work smarter when building current web trends</description>
	<lastBuildDate>Wed, 23 Nov 2011 11:48:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: MXHR4AS3 Released &#124; Barklund.org</title>
		<link>http://www.barklund.org/blog/2009/09/04/mxhr4as3-multipart-mixed-file-download-flash/comment-page-1/#comment-89086</link>
		<dc:creator>MXHR4AS3 Released &#124; Barklund.org</dc:creator>
		<pubDate>Fri, 09 Oct 2009 09:19:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.barklund.org/blog/?p=336#comment-89086</guid>
		<description>[...] finally got the time to clean up the code for MXHR4AS3 &#8211; an implementation of the Digg-introduced concept of requesting several files from the [...]</description>
		<content:encoded><![CDATA[<p>[...] finally got the time to clean up the code for MXHR4AS3 &#8211; an implementation of the Digg-introduced concept of requesting several files from the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john williams</title>
		<link>http://www.barklund.org/blog/2009/09/04/mxhr4as3-multipart-mixed-file-download-flash/comment-page-1/#comment-85487</link>
		<dc:creator>john williams</dc:creator>
		<pubDate>Mon, 07 Sep 2009 18:49:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.barklund.org/blog/?p=336#comment-85487</guid>
		<description>yes i understand better now thank you. a usecase would be an image gallery where you would want the smaller thumbnail images to stream in first, then the larger ones later . well i guess in that case they would be requested on demand

i had no idea flash has gzip built into it..thats very cool to know..or maybe its the browser that has it

in anycase looking forward to the code

john</description>
		<content:encoded><![CDATA[<p>yes i understand better now thank you. a usecase would be an image gallery where you would want the smaller thumbnail images to stream in first, then the larger ones later . well i guess in that case they would be requested on demand</p>
<p>i had no idea flash has gzip built into it..thats very cool to know..or maybe its the browser that has it</p>
<p>in anycase looking forward to the code</p>
<p>john</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Barklund</title>
		<link>http://www.barklund.org/blog/2009/09/04/mxhr4as3-multipart-mixed-file-download-flash/comment-page-1/#comment-85448</link>
		<dc:creator>Barklund</dc:creator>
		<pubDate>Mon, 07 Sep 2009 09:53:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.barklund.org/blog/?p=336#comment-85448</guid>
		<description>Hi John,

Compression is outside the scope of this and can easily be added on top of this. Gzip could be added by your web server and is supported by Flash built-in and completely transparent. Simply set up e.g. Apache to compress the response and Flash will automatically decompress once received before passing the response back to your handler.

MXHR have another benefit besides from packing stuff together in a single request - it is also streaming, and you could actually load one small file and one large file in said order and in Flash you could the display the small file as soon as it was loaded - without waiting until the large file was downloaded as well. If this wasn&#039;t possible, this concept wouldn&#039;t have been as interesting.

The &quot;packaging&quot; method, that I used is mime and the content-type &quot;multipart/mixed&quot;. This is a documented way of transferring multiple responses in a single stream somewhat like attachments in emails. I felt no need to re-invent neither packaging nor compression and simply used existing best-practices.

I hope you see where I&#039;m going :)</description>
		<content:encoded><![CDATA[<p>Hi John,</p>
<p>Compression is outside the scope of this and can easily be added on top of this. Gzip could be added by your web server and is supported by Flash built-in and completely transparent. Simply set up e.g. Apache to compress the response and Flash will automatically decompress once received before passing the response back to your handler.</p>
<p>MXHR have another benefit besides from packing stuff together in a single request &#8211; it is also streaming, and you could actually load one small file and one large file in said order and in Flash you could the display the small file as soon as it was loaded &#8211; without waiting until the large file was downloaded as well. If this wasn&#8217;t possible, this concept wouldn&#8217;t have been as interesting.</p>
<p>The &#8220;packaging&#8221; method, that I used is mime and the content-type &#8220;multipart/mixed&#8221;. This is a documented way of transferring multiple responses in a single stream somewhat like attachments in emails. I felt no need to re-invent neither packaging nor compression and simply used existing best-practices.</p>
<p>I hope you see where I&#8217;m going :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john williams</title>
		<link>http://www.barklund.org/blog/2009/09/04/mxhr4as3-multipart-mixed-file-download-flash/comment-page-1/#comment-85365</link>
		<dc:creator>john williams</dc:creator>
		<pubDate>Sun, 06 Sep 2009 20:09:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.barklund.org/blog/?p=336#comment-85365</guid>
		<description>hi

after i woke up and thought about it more i understand why mp3 doesnt make much sense. this is more about packaging together multiple files into one request. so it would make better sense for something like multiple json feeds/images that a flash app needs to initialize/load config settings from. 

why not just use zip format then? have something like a zip client in actionscript that would unpack the files you need..this would have the added advantage of compression. do you know of any such solution for flash?

in anycase very cool work..i spent some time sniffing things out with charles and you do indeed package multiple gifs in one request..demo is most impressive</description>
		<content:encoded><![CDATA[<p>hi</p>
<p>after i woke up and thought about it more i understand why mp3 doesnt make much sense. this is more about packaging together multiple files into one request. so it would make better sense for something like multiple json feeds/images that a flash app needs to initialize/load config settings from. </p>
<p>why not just use zip format then? have something like a zip client in actionscript that would unpack the files you need..this would have the added advantage of compression. do you know of any such solution for flash?</p>
<p>in anycase very cool work..i spent some time sniffing things out with charles and you do indeed package multiple gifs in one request..demo is most impressive</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Barklund</title>
		<link>http://www.barklund.org/blog/2009/09/04/mxhr4as3-multipart-mixed-file-download-flash/comment-page-1/#comment-85330</link>
		<dc:creator>Barklund</dc:creator>
		<pubDate>Sun, 06 Sep 2009 15:06:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.barklund.org/blog/?p=336#comment-85330</guid>
		<description>Hi John,

Thanks for your interest.

I don&#039;t see the purpose of wrapping MP3&#039;s in SWF&#039;s, because the most interesting thing about sounds as MP3&#039;s is, that they can play progressively - i.e. while downloading. If wrapped in a SWF it would still be possible but harder to achieve.

And the above concept, that I have constructed, does not allow for progressive download of the individual files - only when the entire file (each part of the response) is in, it is returned to the requester.

The advantage only shows when loading many files - especially small files. For instances loading picture thumbnails for a gallery, profile images for a forum post, and similar situations. For larger files the convetional load is just as good and might even be better, as it gives better control over caching etc.

I will however make sure to upload the source as soon as possible :)</description>
		<content:encoded><![CDATA[<p>Hi John,</p>
<p>Thanks for your interest.</p>
<p>I don&#8217;t see the purpose of wrapping MP3&#8242;s in SWF&#8217;s, because the most interesting thing about sounds as MP3&#8242;s is, that they can play progressively &#8211; i.e. while downloading. If wrapped in a SWF it would still be possible but harder to achieve.</p>
<p>And the above concept, that I have constructed, does not allow for progressive download of the individual files &#8211; only when the entire file (each part of the response) is in, it is returned to the requester.</p>
<p>The advantage only shows when loading many files &#8211; especially small files. For instances loading picture thumbnails for a gallery, profile images for a forum post, and similar situations. For larger files the convetional load is just as good and might even be better, as it gives better control over caching etc.</p>
<p>I will however make sure to upload the source as soon as possible :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john williams</title>
		<link>http://www.barklund.org/blog/2009/09/04/mxhr4as3-multipart-mixed-file-download-flash/comment-page-1/#comment-85312</link>
		<dc:creator>john williams</dc:creator>
		<pubDate>Sun, 06 Sep 2009 12:12:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.barklund.org/blog/?p=336#comment-85312</guid>
		<description>am i the first to comment.. and say how cool this is?

the demo is very impressive. do you think it would help in delivring mp3s embedded in swf format faster? if so then we could convert mp3&#039;s to swf and pipe around music and beats faster

seems like the next logical step is to build a class manager 

hit us up with the code so we can continue this cool innovation of yours :)

john</description>
		<content:encoded><![CDATA[<p>am i the first to comment.. and say how cool this is?</p>
<p>the demo is very impressive. do you think it would help in delivring mp3s embedded in swf format faster? if so then we could convert mp3&#8242;s to swf and pipe around music and beats faster</p>
<p>seems like the next logical step is to build a class manager </p>
<p>hit us up with the code so we can continue this cool innovation of yours :)</p>
<p>john</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
