<?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 files in Flex using the FileReference class</title>
	<atom:link href="http://blog.flexexamples.com/2007/09/21/uploading-files-in-flex-using-the-filereference-class/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2007/09/21/uploading-files-in-flex-using-the-filereference-class/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Sun, 12 Feb 2012 19:26:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Anand Meena</title>
		<link>http://blog.flexexamples.com/2007/09/21/uploading-files-in-flex-using-the-filereference-class/comment-page-3/#comment-10283</link>
		<dc:creator>Anand Meena</dc:creator>
		<pubDate>Fri, 30 Dec 2011 10:06:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/21/uploading-files-in-flex-using-the-filereference-class/#comment-10283</guid>
		<description>Hi,

Nice article, but I have one query.

Is there any limit in number of files, if I want to upload multiple files using FileReferenceList class?


Thanks
Anand Meena</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Nice article, but I have one query.</p>
<p>Is there any limit in number of files, if I want to upload multiple files using FileReferenceList class?</p>
<p>Thanks<br />
Anand Meena</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://blog.flexexamples.com/2007/09/21/uploading-files-in-flex-using-the-filereference-class/comment-page-3/#comment-10281</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Thu, 29 Dec 2011 18:05:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/21/uploading-files-in-flex-using-the-filereference-class/#comment-10281</guid>
		<description>Hi. I have a system that generates an image of a QR Code .. I would like to automatically send that image to a folder on the server without the users had to choose the folder or location. Any idea how can I do this?

Thank you.

Daniel Medeiros</description>
		<content:encoded><![CDATA[<p>Hi. I have a system that generates an image of a QR Code .. I would like to automatically send that image to a folder on the server without the users had to choose the folder or location. Any idea how can I do this?</p>
<p>Thank you.</p>
<p>Daniel Medeiros</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dirk</title>
		<link>http://blog.flexexamples.com/2007/09/21/uploading-files-in-flex-using-the-filereference-class/comment-page-3/#comment-10071</link>
		<dc:creator>Dirk</dc:creator>
		<pubDate>Thu, 20 Oct 2011 07:35:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/21/uploading-files-in-flex-using-the-filereference-class/#comment-10071</guid>
		<description>Is there any way to modify the data of a filereference?
I open an Image to the ram with th load() function. 
Then I crop it and encode it. But in the end I can&#039;t bring it back to the fileReference for upload.
I also tryed the urlLoader and uploaded the image as Postdata. it worked but then I have no progess event for a status bar.
If anybody has an idea please let me know.
Thanks</description>
		<content:encoded><![CDATA[<p>Is there any way to modify the data of a filereference?<br />
I open an Image to the ram with th load() function.<br />
Then I crop it and encode it. But in the end I can&#8217;t bring it back to the fileReference for upload.<br />
I also tryed the urlLoader and uploaded the image as Postdata. it worked but then I have no progess event for a status bar.<br />
If anybody has an idea please let me know.<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dirk</title>
		<link>http://blog.flexexamples.com/2007/09/21/uploading-files-in-flex-using-the-filereference-class/comment-page-3/#comment-9502</link>
		<dc:creator>Dirk</dc:creator>
		<pubDate>Wed, 17 Aug 2011 08:23:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/21/uploading-files-in-flex-using-the-filereference-class/#comment-9502</guid>
		<description>sorry for y post, I already found my own mistake.
Used the .load() method to load the image I upload into the ram (and display it).
With the complete event after load I started the .upload() method.

Now I found out that the same event fires when the load is compleaded and also when the upload is complete. So I would create a loop.

Just the question why the flash play chrashed instead of looping my upload ????
Thanx</description>
		<content:encoded><![CDATA[<p>sorry for y post, I already found my own mistake.<br />
Used the .load() method to load the image I upload into the ram (and display it).<br />
With the complete event after load I started the .upload() method.</p>
<p>Now I found out that the same event fires when the load is compleaded and also when the upload is complete. So I would create a loop.</p>
<p>Just the question why the flash play chrashed instead of looping my upload ????<br />
Thanx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dirk</title>
		<link>http://blog.flexexamples.com/2007/09/21/uploading-files-in-flex-using-the-filereference-class/comment-page-3/#comment-9501</link>
		<dc:creator>Dirk</dc:creator>
		<pubDate>Wed, 17 Aug 2011 07:17:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/21/uploading-files-in-flex-using-the-filereference-class/#comment-9501</guid>
		<description>Hi, 
i just started with flash/flex etc. and I have a problem with the filereference.
After uploading my player crashed. On the server site the php file receives the complete file I upload.
I use Mac OS (Lion) and firefox 5.0.1 , Flash-player 10.3.183.5 (last update today without any change)
I already found somthing about a bug that my Script must give some output and this I already do.
Does anybody know a solution?</description>
		<content:encoded><![CDATA[<p>Hi,<br />
i just started with flash/flex etc. and I have a problem with the filereference.<br />
After uploading my player crashed. On the server site the php file receives the complete file I upload.<br />
I use Mac OS (Lion) and firefox 5.0.1 , Flash-player 10.3.183.5 (last update today without any change)<br />
I already found somthing about a bug that my Script must give some output and this I already do.<br />
Does anybody know a solution?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://blog.flexexamples.com/2007/09/21/uploading-files-in-flex-using-the-filereference-class/comment-page-3/#comment-9494</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Fri, 12 Aug 2011 16:35:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/21/uploading-files-in-flex-using-the-filereference-class/#comment-9494</guid>
		<description>After the upload, is there a way to return a data string back to Flex from my server side page (upload.cfm), and if so, how do I get that data string in flex.</description>
		<content:encoded><![CDATA[<p>After the upload, is there a way to return a data string back to Flex from my server side page (upload.cfm), and if so, how do I get that data string in flex.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sri</title>
		<link>http://blog.flexexamples.com/2007/09/21/uploading-files-in-flex-using-the-filereference-class/comment-page-3/#comment-9269</link>
		<dc:creator>Sri</dc:creator>
		<pubDate>Fri, 03 Jun 2011 15:19:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/21/uploading-files-in-flex-using-the-filereference-class/#comment-9269</guid>
		<description>Arul,

You just have to use the FileReference object and then invoke name.

Like:

FileReference ref = new File Reference();

In the selectHandler method just use:
ref.name;

Goto: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/FileReference.html


To all:  I wanted to see how to get the absolute path of the file selected?</description>
		<content:encoded><![CDATA[<p>Arul,</p>
<p>You just have to use the FileReference object and then invoke name.</p>
<p>Like:</p>
<p>FileReference ref = new File Reference();</p>
<p>In the selectHandler method just use:<br />
ref.name;</p>
<p>Goto: <a href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/FileReference.html" rel="nofollow">http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/FileReference.html</a></p>
<p>To all:  I wanted to see how to get the absolute path of the file selected?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arulmurugan</title>
		<link>http://blog.flexexamples.com/2007/09/21/uploading-files-in-flex-using-the-filereference-class/comment-page-3/#comment-9245</link>
		<dc:creator>Arulmurugan</dc:creator>
		<pubDate>Thu, 26 May 2011 05:45:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/21/uploading-files-in-flex-using-the-filereference-class/#comment-9245</guid>
		<description>Hi is there anyway I know the name of the file I upload.</description>
		<content:encoded><![CDATA[<p>Hi is there anyway I know the name of the file I upload.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Silvertiger</title>
		<link>http://blog.flexexamples.com/2007/09/21/uploading-files-in-flex-using-the-filereference-class/comment-page-3/#comment-9056</link>
		<dc:creator>Silvertiger</dc:creator>
		<pubDate>Wed, 16 Mar 2011 02:16:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/21/uploading-files-in-flex-using-the-filereference-class/#comment-9056</guid>
		<description>I have successfully scavanged and tweaked available classes and flex projects to build a flex application that will allow users to upload content to the Amazon S3 cloud, but I have run into a snag.  Is there any way to change the name of the destination file when uploading? I have not found any variables that allow changing the name, only a way to access the current name of the fileReference selected item.

Any tips would be greatly apprecaited.

thanks,

Silver Tiger</description>
		<content:encoded><![CDATA[<p>I have successfully scavanged and tweaked available classes and flex projects to build a flex application that will allow users to upload content to the Amazon S3 cloud, but I have run into a snag.  Is there any way to change the name of the destination file when uploading? I have not found any variables that allow changing the name, only a way to access the current name of the fileReference selected item.</p>
<p>Any tips would be greatly apprecaited.</p>
<p>thanks,</p>
<p>Silver Tiger</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Freddy</title>
		<link>http://blog.flexexamples.com/2007/09/21/uploading-files-in-flex-using-the-filereference-class/comment-page-3/#comment-9005</link>
		<dc:creator>Freddy</dc:creator>
		<pubDate>Mon, 28 Feb 2011 19:59:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/21/uploading-files-in-flex-using-the-filereference-class/#comment-9005</guid>
		<description>&lt;code&gt;
&lt;?php

$errors = array();
$data = &quot;&quot;;
$success = &quot;false&quot;;

function return_result($success,$errors,$data) {
	echo(&quot;&quot;);	
	?&gt;
	
	
	
	
	
	&lt;?
}

function echo_errors($errors) {

	for($i=0;$i
		
		</description>
		<content:encoded><![CDATA[<p><code><br />
&lt;?php</p>
<p>$errors = array();<br />
$data = &quot;&quot;;<br />
$success = &quot;false&quot;;</p>
<p>function return_result($success,$errors,$data) {<br />
	echo(&quot;");<br />
	?&gt;</p>
<p>	&lt;?<br />
}</p>
<p>function echo_errors($errors) {</p>
<p>	for($i=0;$i</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>

