<?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: Previewing an image before uploading it using the FileReference class in Flash Player 10</title>
	<atom:link href="http://blog.flexexamples.com/2008/08/25/previewing-an-image-before-uploading-it-using-the-filereference-class-in-flash-player-10/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2008/08/25/previewing-an-image-before-uploading-it-using-the-filereference-class-in-flash-player-10/</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: James</title>
		<link>http://blog.flexexamples.com/2008/08/25/previewing-an-image-before-uploading-it-using-the-filereference-class-in-flash-player-10/comment-page-1/#comment-10174</link>
		<dc:creator>James</dc:creator>
		<pubDate>Thu, 17 Nov 2011 16:20:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/08/25/previewing-an-image-before-uploading-it-using-the-filereference-class-in-flash-player-10/#comment-10174</guid>
		<description>Please help me...Image browse and upload but in Flex 3 - image in panel.</description>
		<content:encoded><![CDATA[<p>Please help me&#8230;Image browse and upload but in Flex 3 &#8211; image in panel.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Damian Bendersky</title>
		<link>http://blog.flexexamples.com/2008/08/25/previewing-an-image-before-uploading-it-using-the-filereference-class-in-flash-player-10/comment-page-1/#comment-9521</link>
		<dc:creator>Damian Bendersky</dc:creator>
		<pubDate>Mon, 22 Aug 2011 21:09:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/08/25/previewing-an-image-before-uploading-it-using-the-filereference-class-in-flash-player-10/#comment-9521</guid>
		<description>*&lt;i&gt;on line&lt;/i&gt; :)</description>
		<content:encoded><![CDATA[<p>*<i>on line</i> :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Damian Bendersky</title>
		<link>http://blog.flexexamples.com/2008/08/25/previewing-an-image-before-uploading-it-using-the-filereference-class-in-flash-player-10/comment-page-1/#comment-9520</link>
		<dc:creator>Damian Bendersky</dc:creator>
		<pubDate>Mon, 22 Aug 2011 21:08:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/08/25/previewing-an-image-before-uploading-it-using-the-filereference-class-in-flash-player-10/#comment-9520</guid>
		<description>Very useful, thanks for posting!
Quick correction: there is an asterisk (*) missing online 16 before &lt;i&gt;.gif&lt;/i&gt;.</description>
		<content:encoded><![CDATA[<p>Very useful, thanks for posting!<br />
Quick correction: there is an asterisk (*) missing online 16 before <i>.gif</i>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2008/08/25/previewing-an-image-before-uploading-it-using-the-filereference-class-in-flash-player-10/comment-page-1/#comment-9053</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Tue, 15 Mar 2011 16:06:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/08/25/previewing-an-image-before-uploading-it-using-the-filereference-class-in-flash-player-10/#comment-9053</guid>
		<description>@Marylka,

There should be a simple example in the comments at &lt;a href=&quot;http://blog.flexexamples.com/2007/09/21/uploading-files-in-flex-using-the-filereference-class/&quot; rel=&quot;nofollow&quot;&gt;&quot;Uploading files in Flex using the FileReference class&quot;&lt;/a&gt;.

Peter</description>
		<content:encoded><![CDATA[<p>@Marylka,</p>
<p>There should be a simple example in the comments at <a href="http://blog.flexexamples.com/2007/09/21/uploading-files-in-flex-using-the-filereference-class/" rel="nofollow">&#8220;Uploading files in Flex using the FileReference class&#8221;</a>.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marylka</title>
		<link>http://blog.flexexamples.com/2008/08/25/previewing-an-image-before-uploading-it-using-the-filereference-class-in-flash-player-10/comment-page-1/#comment-9049</link>
		<dc:creator>Marylka</dc:creator>
		<pubDate>Tue, 15 Mar 2011 07:39:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/08/25/previewing-an-image-before-uploading-it-using-the-filereference-class-in-flash-player-10/#comment-9049</guid>
		<description>How do I upload it on my server with ColdFusion. The combination of ColdFusion and Flex 4.

THX</description>
		<content:encoded><![CDATA[<p>How do I upload it on my server with ColdFusion. The combination of ColdFusion and Flex 4.</p>
<p>THX</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sergii</title>
		<link>http://blog.flexexamples.com/2008/08/25/previewing-an-image-before-uploading-it-using-the-filereference-class-in-flash-player-10/comment-page-1/#comment-9028</link>
		<dc:creator>Sergii</dc:creator>
		<pubDate>Tue, 08 Mar 2011 14:31:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/08/25/previewing-an-image-before-uploading-it-using-the-filereference-class-in-flash-player-10/#comment-9028</guid>
		<description>Help me please .... I need to make such an application


1. Selecting images from disk without loading the server. 
2. Ability to edit it (increase / decrease proportionally with a slider and drag) 
3.1 Reduction should work in such a way that no gaps in the editable area (the picture should &quot;stick to the edges of the editor). One editor can be 600 * 300. 
3.2 If a picture is trying to get smaller window sizes, it is necessary to increase by 20%. If even then the picture is less - to give a message. 
4. When you drag a picture there should be no gaps.</description>
		<content:encoded><![CDATA[<p>Help me please &#8230;. I need to make such an application</p>
<p>1. Selecting images from disk without loading the server.<br />
2. Ability to edit it (increase / decrease proportionally with a slider and drag)<br />
3.1 Reduction should work in such a way that no gaps in the editable area (the picture should &#8220;stick to the edges of the editor). One editor can be 600 * 300.<br />
3.2 If a picture is trying to get smaller window sizes, it is necessary to increase by 20%. If even then the picture is less &#8211; to give a message.<br />
4. When you drag a picture there should be no gaps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marc</title>
		<link>http://blog.flexexamples.com/2008/08/25/previewing-an-image-before-uploading-it-using-the-filereference-class-in-flash-player-10/comment-page-1/#comment-8989</link>
		<dc:creator>marc</dc:creator>
		<pubDate>Thu, 24 Feb 2011 14:22:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/08/25/previewing-an-image-before-uploading-it-using-the-filereference-class-in-flash-player-10/#comment-8989</guid>
		<description>Sorry, me again. My fault.

Solution:
as this post explains clearly http://blog.wrench.com.au/2010/06/16/filereferenceload-keep-it-in-scope/

FileReference may not be a local variable that you can catch up in listeners via event.target while loading, but it must be a global variable.

The problem is it fails silently if you do it the wrong way.</description>
		<content:encoded><![CDATA[<p>Sorry, me again. My fault.</p>
<p>Solution:<br />
as this post explains clearly <a href="http://blog.wrench.com.au/2010/06/16/filereferenceload-keep-it-in-scope/" rel="nofollow">http://blog.wrench.com.au/2010/06/16/filereferenceload-keep-it-in-scope/</a></p>
<p>FileReference may not be a local variable that you can catch up in listeners via event.target while loading, but it must be a global variable.</p>
<p>The problem is it fails silently if you do it the wrong way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marc</title>
		<link>http://blog.flexexamples.com/2008/08/25/previewing-an-image-before-uploading-it-using-the-filereference-class-in-flash-player-10/comment-page-1/#comment-8988</link>
		<dc:creator>marc</dc:creator>
		<pubDate>Thu, 24 Feb 2011 10:49:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/08/25/previewing-an-image-before-uploading-it-using-the-filereference-class-in-flash-player-10/#comment-8988</guid>
		<description>Hi Peter,

Thanks for the code. It works very well with images.
Should it also work for videos? 

Trying to Filereference.load() an mp4:
It dispatches the first progressevent bytesloaded = 0, and then nothing...</description>
		<content:encoded><![CDATA[<p>Hi Peter,</p>
<p>Thanks for the code. It works very well with images.<br />
Should it also work for videos? </p>
<p>Trying to Filereference.load() an mp4:<br />
It dispatches the first progressevent bytesloaded = 0, and then nothing&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anthony</title>
		<link>http://blog.flexexamples.com/2008/08/25/previewing-an-image-before-uploading-it-using-the-filereference-class-in-flash-player-10/comment-page-1/#comment-8689</link>
		<dc:creator>Anthony</dc:creator>
		<pubDate>Tue, 14 Dec 2010 18:30:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/08/25/previewing-an-image-before-uploading-it-using-the-filereference-class-in-flash-player-10/#comment-8689</guid>
		<description>I need to resize the image before saving it to server, say image uploaded size: 4mb, it should be 300kb on server.

Anyone can help?
Thanks</description>
		<content:encoded><![CDATA[<p>I need to resize the image before saving it to server, say image uploaded size: 4mb, it should be 300kb on server.</p>
<p>Anyone can help?<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg</title>
		<link>http://blog.flexexamples.com/2008/08/25/previewing-an-image-before-uploading-it-using-the-filereference-class-in-flash-player-10/comment-page-1/#comment-8434</link>
		<dc:creator>Greg</dc:creator>
		<pubDate>Tue, 12 Oct 2010 02:34:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/08/25/previewing-an-image-before-uploading-it-using-the-filereference-class-in-flash-player-10/#comment-8434</guid>
		<description>All well and good, but in Air the fileReference objects in fileReferenceList do not fire the complete event when doing fileList[i].load(). Adobe has not taken bug reports on this appropriately.</description>
		<content:encoded><![CDATA[<p>All well and good, but in Air the fileReference objects in fileReferenceList do not fire the complete event when doing fileList[i].load(). Adobe has not taken bug reports on this appropriately.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

