<?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: Uploading Multiple Selectable Files with Flash9 and AS3</title>
	<atom:link href="http://drawlogic.com/2007/08/02/uploading-multiple-selectable-files-with-flash9-and-as3/feed/" rel="self" type="application/rss+xml" />
	<link>http://drawlogic.com/2007/08/02/uploading-multiple-selectable-files-with-flash9-and-as3/</link>
	<description>interactive and game development technologies for the web - flash, flex, unity3d, silverlight, javascript</description>
	<lastBuildDate>Fri, 10 Feb 2012 12:20:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Sundev</title>
		<link>http://drawlogic.com/2007/08/02/uploading-multiple-selectable-files-with-flash9-and-as3/comment-page-1/#comment-2564</link>
		<dc:creator>Sundev</dc:creator>
		<pubDate>Fri, 20 Feb 2009 17:30:41 +0000</pubDate>
		<guid isPermaLink="false">http://drawk.wordpress.com/2007/08/02/uploading-multiple-selectable-files-with-flash9-and-as3/#comment-2564</guid>
		<description>That try ... catch exception statement isn&#039;t the way to handle errors. That is why that one guy was getting IO Errors. There is a specific IOErrorEvent type that is dispatched when an error occurs. It would be better if the code had a listener for that error event. I don&#039;t think that try.. catch will ever catch anything unless your file or request var wasn&#039;t set.</description>
		<content:encoded><![CDATA[<p>That try &#8230; catch exception statement isn&#8217;t the way to handle errors. That is why that one guy was getting IO Errors. There is a specific IOErrorEvent type that is dispatched when an error occurs. It would be better if the code had a listener for that error event. I don&#8217;t think that try.. catch will ever catch anything unless your file or request var wasn&#8217;t set.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Чилавек Магазин</title>
		<link>http://drawlogic.com/2007/08/02/uploading-multiple-selectable-files-with-flash9-and-as3/comment-page-1/#comment-387</link>
		<dc:creator>Чилавек Магазин</dc:creator>
		<pubDate>Thu, 17 Jul 2008 19:19:44 +0000</pubDate>
		<guid isPermaLink="false">http://drawk.wordpress.com/2007/08/02/uploading-multiple-selectable-files-with-flash9-and-as3/#comment-387</guid>
		<description>Мне очень нравится</description>
		<content:encoded><![CDATA[<p>Мне очень нравится</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sunil Gupta</title>
		<link>http://drawlogic.com/2007/08/02/uploading-multiple-selectable-files-with-flash9-and-as3/comment-page-1/#comment-386</link>
		<dc:creator>Sunil Gupta</dc:creator>
		<pubDate>Fri, 28 Mar 2008 01:39:45 +0000</pubDate>
		<guid isPermaLink="false">http://drawk.wordpress.com/2007/08/02/uploading-multiple-selectable-files-with-flash9-and-as3/#comment-386</guid>
		<description>It&#039;s good to see here this post, We have already done with multiple file uploadings with PHP on the server side.</description>
		<content:encoded><![CDATA[<p>It&#8217;s good to see here this post, We have already done with multiple file uploadings with PHP on the server side.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: drawk</title>
		<link>http://drawlogic.com/2007/08/02/uploading-multiple-selectable-files-with-flash9-and-as3/comment-page-1/#comment-385</link>
		<dc:creator>drawk</dc:creator>
		<pubDate>Thu, 08 Nov 2007 10:42:25 +0000</pubDate>
		<guid isPermaLink="false">http://drawk.wordpress.com/2007/08/02/uploading-multiple-selectable-files-with-flash9-and-as3/#comment-385</guid>
		<description>Here is a full server side code included sample for Flash8 that uses the FileReference. To make it mulitple file just use FileReferenceList.

http://www.flash-db.com/Tutorials/upload/</description>
		<content:encoded><![CDATA[<p>Here is a full server side code included sample for Flash8 that uses the FileReference. To make it mulitple file just use FileReferenceList.</p>
<p><a href="http://www.flash-db.com/Tutorials/upload/" rel="nofollow">http://www.flash-db.com/Tutorials/upload/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: drawk</title>
		<link>http://drawlogic.com/2007/08/02/uploading-multiple-selectable-files-with-flash9-and-as3/comment-page-1/#comment-384</link>
		<dc:creator>drawk</dc:creator>
		<pubDate>Thu, 08 Nov 2007 08:50:06 +0000</pubDate>
		<guid isPermaLink="false">http://drawk.wordpress.com/2007/08/02/uploading-multiple-selectable-files-with-flash9-and-as3/#comment-384</guid>
		<description>Hey Jonathan,

Yes sry this just shows the flash side.  the [your domain] would be a script (php, .aspx, ruby, web server side tech basically) to catch the files posted and then save them.  In .NET for instance this comes in on the Request.Files object array as binary that you just save.  The great thing about this flash upload method for the client side is it checks file size before you upload (you can put checks there) and you can alto upload and select multiple files.  This was only possible with Java applets or ACtiveX controls and activex and java are long but dead in the browser.  Java might be back but it is all Flash for uploads with this functionality.

One place you might want to look is SWFUpload .

http://swfupload.mammon.se/</description>
		<content:encoded><![CDATA[<p>Hey Jonathan,</p>
<p>Yes sry this just shows the flash side.  the [your domain] would be a script (php, .aspx, ruby, web server side tech basically) to catch the files posted and then save them.  In .NET for instance this comes in on the Request.Files object array as binary that you just save.  The great thing about this flash upload method for the client side is it checks file size before you upload (you can put checks there) and you can alto upload and select multiple files.  This was only possible with Java applets or ACtiveX controls and activex and java are long but dead in the browser.  Java might be back but it is all Flash for uploads with this functionality.</p>
<p>One place you might want to look is SWFUpload .</p>
<p><a href="http://swfupload.mammon.se/" rel="nofollow">http://swfupload.mammon.se/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://drawlogic.com/2007/08/02/uploading-multiple-selectable-files-with-flash9-and-as3/comment-page-1/#comment-383</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Thu, 08 Nov 2007 06:44:48 +0000</pubDate>
		<guid isPermaLink="false">http://drawk.wordpress.com/2007/08/02/uploading-multiple-selectable-files-with-flash9-and-as3/#comment-383</guid>
		<description>Hey drawk, Yeah I need to upload it in a server. But even if I try do use that code locally, I cant even upload an image. And by the way,

var request:URLRequest = new URLRequest(&quot;http://www.[yourdomain].com/upload/&quot;);

what do I exactly need to put on &quot;yourdomain&quot;? is it the upload.php file? or should I leave it the way it was? Im sorry but I cant make it work properly I guess.</description>
		<content:encoded><![CDATA[<p>Hey drawk, Yeah I need to upload it in a server. But even if I try do use that code locally, I cant even upload an image. And by the way,</p>
<p>var request:URLRequest = new URLRequest(&#8220;http://www.[yourdomain].com/upload/&#8221;);</p>
<p>what do I exactly need to put on &#8220;yourdomain&#8221;? is it the upload.php file? or should I leave it the way it was? Im sorry but I cant make it work properly I guess.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: drawk</title>
		<link>http://drawlogic.com/2007/08/02/uploading-multiple-selectable-files-with-flash9-and-as3/comment-page-1/#comment-388</link>
		<dc:creator>drawk</dc:creator>
		<pubDate>Wed, 07 Nov 2007 08:35:38 +0000</pubDate>
		<guid isPermaLink="false">http://drawk.wordpress.com/2007/08/02/uploading-multiple-selectable-files-with-flash9-and-as3/#comment-388</guid>
		<description>Hey Jonathan,

Sry this is just the client side flash upload.  You have to have a server side PHP, ASP.NET, JSP, etc file to catch it on the server to save it.  Flash can only get the files and post them in the response and then from there you need to have a server side script to catch the data and save it to a file on the server.</description>
		<content:encoded><![CDATA[<p>Hey Jonathan,</p>
<p>Sry this is just the client side flash upload.  You have to have a server side PHP, ASP.NET, JSP, etc file to catch it on the server to save it.  Flash can only get the files and post them in the response and then from there you need to have a server side script to catch the data and save it to a file on the server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://drawlogic.com/2007/08/02/uploading-multiple-selectable-files-with-flash9-and-as3/comment-page-1/#comment-389</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Wed, 07 Nov 2007 07:08:14 +0000</pubDate>
		<guid isPermaLink="false">http://drawk.wordpress.com/2007/08/02/uploading-multiple-selectable-files-with-flash9-and-as3/#comment-389</guid>
		<description>I tried to use this code and others, and it seems that I dont have any errors, the trace function even says that the file is uploaded, but when I take a look at the directory, the file uploaded isnt inside it. How do this things really work? Can you further explain it?</description>
		<content:encoded><![CDATA[<p>I tried to use this code and others, and it seems that I dont have any errors, the trace function even says that the file is uploaded, but when I take a look at the directory, the file uploaded isnt inside it. How do this things really work? Can you further explain it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: drawk</title>
		<link>http://drawlogic.com/2007/08/02/uploading-multiple-selectable-files-with-flash9-and-as3/comment-page-1/#comment-382</link>
		<dc:creator>drawk</dc:creator>
		<pubDate>Fri, 14 Sep 2007 00:16:18 +0000</pubDate>
		<guid isPermaLink="false">http://drawk.wordpress.com/2007/08/02/uploading-multiple-selectable-files-with-flash9-and-as3/#comment-382</guid>
		<description>Hey Didier,

Usualy when you get an IOError there is an error on the server you are trying to upload to or the path does not exist (you have to run this in a website rather than local or file system).

It posts as  POST with the file attachments.  .NET, PHP etc have libs to grab this you just need to setup a page or url that can accept the files.  I have more complete tutorials on this including .NET and PHP samples but they need to be cleaned up and writing a tutorial for it.  Unfortunately until I move this blog to my main domain I dont&#039; have alot of that setup just yet.</description>
		<content:encoded><![CDATA[<p>Hey Didier,</p>
<p>Usualy when you get an IOError there is an error on the server you are trying to upload to or the path does not exist (you have to run this in a website rather than local or file system).</p>
<p>It posts as  POST with the file attachments.  .NET, PHP etc have libs to grab this you just need to setup a page or url that can accept the files.  I have more complete tutorials on this including .NET and PHP samples but they need to be cleaned up and writing a tutorial for it.  Unfortunately until I move this blog to my main domain I dont&#8217; have alot of that setup just yet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Didier</title>
		<link>http://drawlogic.com/2007/08/02/uploading-multiple-selectable-files-with-flash9-and-as3/comment-page-1/#comment-371</link>
		<dc:creator>Didier</dc:creator>
		<pubDate>Wed, 12 Sep 2007 21:26:25 +0000</pubDate>
		<guid isPermaLink="false">http://drawk.wordpress.com/2007/08/02/uploading-multiple-selectable-files-with-flash9-and-as3/#comment-371</guid>
		<description>So I tried your code and it gives me a: &quot;Error #2044: Unhandled IOErrorEvent:. text=Error #2038: File I/O Error.&quot;
I&#039;m not sure why, if you could tip me on something.
I&#039;m also wondering, what kind of server setup you need so flash has permissions to write to a folder?</description>
		<content:encoded><![CDATA[<p>So I tried your code and it gives me a: &#8220;Error #2044: Unhandled IOErrorEvent:. text=Error #2038: File I/O Error.&#8221;<br />
I&#8217;m not sure why, if you could tip me on something.<br />
I&#8217;m also wondering, what kind of server setup you need so flash has permissions to write to a folder?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

