<?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: Using for the FileReference class&#8217;s uploadCompleteData event to capture data from a server-side script</title>
	<atom:link href="http://blog.flexexamples.com/2007/10/30/using-for-the-filereference-classs-uploadcompletedata-event-to-capture-data-from-a-server-side-script/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2007/10/30/using-for-the-filereference-classs-uploadcompletedata-event-to-capture-data-from-a-server-side-script/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Mon, 13 Feb 2012 01:38:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Anonymous</title>
		<link>http://blog.flexexamples.com/2007/10/30/using-for-the-filereference-classs-uploadcompletedata-event-to-capture-data-from-a-server-side-script/comment-page-1/#comment-7686</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Tue, 11 May 2010 14:45:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/10/30/using-for-the-filereference-classs-uploadcompletedata-event-to-capture-data-from-a-server-side-script/#comment-7686</guid>
		<description>I figured it out. I had a datagrid on the page that displayed the items I selected for downloading. That datagrid used an arraycollection as the dataprovider. When I changed the upload actionscript to look at the individual entries as filereferences rather than objects in an arraycollection, the event started firing correctly. Thanks again. Love all the information on your blog.</description>
		<content:encoded><![CDATA[<p>I figured it out. I had a datagrid on the page that displayed the items I selected for downloading. That datagrid used an arraycollection as the dataprovider. When I changed the upload actionscript to look at the individual entries as filereferences rather than objects in an arraycollection, the event started firing correctly. Thanks again. Love all the information on your blog.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mmontana</title>
		<link>http://blog.flexexamples.com/2007/10/30/using-for-the-filereference-classs-uploadcompletedata-event-to-capture-data-from-a-server-side-script/comment-page-1/#comment-7673</link>
		<dc:creator>mmontana</dc:creator>
		<pubDate>Tue, 11 May 2010 00:43:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/10/30/using-for-the-filereference-classs-uploadcompletedata-event-to-capture-data-from-a-server-side-script/#comment-7673</guid>
		<description>Peter,
I&#039;m trying to modify this sample to work with multiple files by using FileReferenceList, a for loop, and the ColdFusion uploader file from your previous example. Everything works OK with the exception of the uploadCompleteData event. I&#039;m not getting anything at all. It doesn&#039;t even fire. I&#039;ve tried changing the event to fire based on the list of files as well as the individual file as it is uploaded, but no luck. I&#039;m not in front of my work machine right now, so don&#039;t have access to the file I wrote, but if you want to see what I am doing, I&#039;d be happy to upload it for you. Do you have any ideas as to what I am doing wrong? Thanks in advance.
mm</description>
		<content:encoded><![CDATA[<p>Peter,<br />
I&#8217;m trying to modify this sample to work with multiple files by using FileReferenceList, a for loop, and the ColdFusion uploader file from your previous example. Everything works OK with the exception of the uploadCompleteData event. I&#8217;m not getting anything at all. It doesn&#8217;t even fire. I&#8217;ve tried changing the event to fire based on the list of files as well as the individual file as it is uploaded, but no luck. I&#8217;m not in front of my work machine right now, so don&#8217;t have access to the file I wrote, but if you want to see what I am doing, I&#8217;d be happy to upload it for you. Do you have any ideas as to what I am doing wrong? Thanks in advance.<br />
mm</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sunil</title>
		<link>http://blog.flexexamples.com/2007/10/30/using-for-the-filereference-classs-uploadcompletedata-event-to-capture-data-from-a-server-side-script/comment-page-1/#comment-6627</link>
		<dc:creator>sunil</dc:creator>
		<pubDate>Fri, 18 Dec 2009 11:44:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/10/30/using-for-the-filereference-classs-uploadcompletedata-event-to-capture-data-from-a-server-side-script/#comment-6627</guid>
		<description>Hello,

I am trying to upload files using Flex 3.0 and Java.
Can anyone help me out with the code? 


Thanks in Advance,
Sunil.</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I am trying to upload files using Flex 3.0 and Java.<br />
Can anyone help me out with the code? </p>
<p>Thanks in Advance,<br />
Sunil.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: venkat</title>
		<link>http://blog.flexexamples.com/2007/10/30/using-for-the-filereference-classs-uploadcompletedata-event-to-capture-data-from-a-server-side-script/comment-page-1/#comment-1747</link>
		<dc:creator>venkat</dc:creator>
		<pubDate>Wed, 26 Nov 2008 21:53:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/10/30/using-for-the-filereference-classs-uploadcompletedata-event-to-capture-data-from-a-server-side-script/#comment-1747</guid>
		<description>i was using asp.net server side and actionscript 3.0 client side
trying to upload file(s) , when i use POST method i dont see values coming, changed to GET working.

thanks,
venkat</description>
		<content:encoded><![CDATA[<p>i was using asp.net server side and actionscript 3.0 client side<br />
trying to upload file(s) , when i use POST method i dont see values coming, changed to GET working.</p>
<p>thanks,<br />
venkat</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NB</title>
		<link>http://blog.flexexamples.com/2007/10/30/using-for-the-filereference-classs-uploadcompletedata-event-to-capture-data-from-a-server-side-script/comment-page-1/#comment-1743</link>
		<dc:creator>NB</dc:creator>
		<pubDate>Sun, 02 Nov 2008 18:24:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/10/30/using-for-the-filereference-classs-uploadcompletedata-event-to-capture-data-from-a-server-side-script/#comment-1743</guid>
		<description>NM. I found my error. It was in my PHP backend.</description>
		<content:encoded><![CDATA[<p>NM. I found my error. It was in my PHP backend.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NB</title>
		<link>http://blog.flexexamples.com/2007/10/30/using-for-the-filereference-classs-uploadcompletedata-event-to-capture-data-from-a-server-side-script/comment-page-1/#comment-1742</link>
		<dc:creator>NB</dc:creator>
		<pubDate>Sun, 02 Nov 2008 12:55:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/10/30/using-for-the-filereference-classs-uploadcompletedata-event-to-capture-data-from-a-server-side-script/#comment-1742</guid>
		<description>Peter,

When I run your code I get an error:

Error: Error #2101: The String passed to URLVariables.decode() must be a URL-encoded query string containing name/value pairs.

Any ideas why?

Thx.</description>
		<content:encoded><![CDATA[<p>Peter,</p>
<p>When I run your code I get an error:</p>
<p>Error: Error #2101: The String passed to URLVariables.decode() must be a URL-encoded query string containing name/value pairs.</p>
<p>Any ideas why?</p>
<p>Thx.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waqas</title>
		<link>http://blog.flexexamples.com/2007/10/30/using-for-the-filereference-classs-uploadcompletedata-event-to-capture-data-from-a-server-side-script/comment-page-1/#comment-1746</link>
		<dc:creator>Waqas</dc:creator>
		<pubDate>Wed, 06 Aug 2008 04:19:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/10/30/using-for-the-filereference-classs-uploadcompletedata-event-to-capture-data-from-a-server-side-script/#comment-1746</guid>
		<description>Ask for any further help at vky84@hotmail.com</description>
		<content:encoded><![CDATA[<p>Ask for any further help at <a href="mailto:vky84@hotmail.com">vky84@hotmail.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waqas</title>
		<link>http://blog.flexexamples.com/2007/10/30/using-for-the-filereference-classs-uploadcompletedata-event-to-capture-data-from-a-server-side-script/comment-page-1/#comment-1745</link>
		<dc:creator>Waqas</dc:creator>
		<pubDate>Wed, 06 Aug 2008 04:19:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/10/30/using-for-the-filereference-classs-uploadcompletedata-event-to-capture-data-from-a-server-side-script/#comment-1745</guid>
		<description>&lt;pre class=&quot;code&quot;&gt;
&lt;?php
//also change user name variable in count.php
$user=&quot;xyz&quot;;
//create the directory if doesn&#039;t exists (should have write permissons)
if(!is_dir(&quot;files/&quot;.$user.&quot;/&quot;)) mkdir(&quot;files/&quot;.$user.&quot;/&quot;, 0755);
//move the uploaded file
move_uploaded_file($_FILES[&#039;Filedata&#039;][&#039;tmp_name&#039;], &quot;files/&quot;.$user.&quot;/&quot;.$_FILES[&#039;Filedata&#039;][&#039;name&#039;]);
chmod(&quot;files/&quot;.$user.&quot;/&quot;.$_FILES[&#039;Filedata&#039;][&#039;name&#039;], 0777);
?&gt;
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<pre class="code">
&lt;?php
//also change user name variable in count.php
$user="xyz";
//create the directory if doesn't exists (should have write permissons)
if(!is_dir("files/".$user."/")) mkdir("files/".$user."/", 0755);
//move the uploaded file
move_uploaded_file($_FILES['Filedata']['tmp_name'], "files/".$user."/".$_FILES['Filedata']['name']);
chmod("files/".$user."/".$_FILES['Filedata']['name'], 0777);
?&gt;
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waqas</title>
		<link>http://blog.flexexamples.com/2007/10/30/using-for-the-filereference-classs-uploadcompletedata-event-to-capture-data-from-a-server-side-script/comment-page-1/#comment-1744</link>
		<dc:creator>Waqas</dc:creator>
		<pubDate>Wed, 06 Aug 2008 04:18:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/10/30/using-for-the-filereference-classs-uploadcompletedata-event-to-capture-data-from-a-server-side-script/#comment-1744</guid>
		<description>mukesh you can use the following 3 line code to use php for uploading with flex.



Thanks to peterd for helping a lot ... Adobe official help dint worked with me :s its a lot complicated tooo..

Waqas
www.shockpill.com</description>
		<content:encoded><![CDATA[<p>mukesh you can use the following 3 line code to use php for uploading with flex.</p>
<p>Thanks to peterd for helping a lot &#8230; Adobe official help dint worked with me :s its a lot complicated tooo..</p>
<p>Waqas<br />
<a href="http://www.shockpill.com" rel="nofollow">http://www.shockpill.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: uriel</title>
		<link>http://blog.flexexamples.com/2007/10/30/using-for-the-filereference-classs-uploadcompletedata-event-to-capture-data-from-a-server-side-script/comment-page-1/#comment-1741</link>
		<dc:creator>uriel</dc:creator>
		<pubDate>Mon, 07 Apr 2008 21:40:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/10/30/using-for-the-filereference-classs-uploadcompletedata-event-to-capture-data-from-a-server-side-script/#comment-1741</guid>
		<description>como hago el filtrado de un cfgrid como este
		function applyFilter( term:String, grid:mx.controls.DataGrid, columns:Array ):Void {

			var filterTerm:String = term.toString().toLowerCase();

			if(filterTerm.length &gt; 0) {
				if(_global.unfilteredData[grid.id] == undefined){
					if (_global.unfilteredData == undefined){
						_global.unfilteredData = {};
					}
					_global.unfilteredData[grid.id]  = grid.dataProvider.slice(0);
				}

				var filteredData:Array = [];

				for(var i = 0; i</description>
		<content:encoded><![CDATA[<p>como hago el filtrado de un cfgrid como este<br />
		function applyFilter( term:String, grid:mx.controls.DataGrid, columns:Array ):Void {</p>
<p>			var filterTerm:String = term.toString().toLowerCase();</p>
<p>			if(filterTerm.length &gt; 0) {<br />
				if(_global.unfilteredData[grid.id] == undefined){<br />
					if (_global.unfilteredData == undefined){<br />
						_global.unfilteredData = {};<br />
					}<br />
					_global.unfilteredData[grid.id]  = grid.dataProvider.slice(0);<br />
				}</p>
<p>				var filteredData:Array = [];</p>
<p>				for(var i = 0; i</p>
]]></content:encoded>
	</item>
</channel>
</rss>

