<?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: FileReference updated in Macromedia Flash Player 9 beta 3</title>
	<atom:link href="http://www.abdulqabiz.com/blog/archives/2006/05/10/filereference-updated-in-macromedia-flash-player-9-beta-3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.abdulqabiz.com/blog/archives/2006/05/10/filereference-updated-in-macromedia-flash-player-9-beta-3/</link>
	<description>a developer and entrepreneur on web technologies, adobe flash platform (flex, flash, air), web, opensource, linux, free software, usability, startups, India...</description>
	<lastBuildDate>Mon, 15 Mar 2010 12:09:01 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Naveen</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/05/10/filereference-updated-in-macromedia-flash-player-9-beta-3/comment-page-1/#comment-670</link>
		<dc:creator>Naveen</dc:creator>
		<pubDate>Mon, 27 Apr 2009 18:02:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=177#comment-670</guid>
		<description>you can use the file reference to find the absolute path by using the load() function .. but the only way you can do that is by updating your flash player to version 10.0.0 or more and you need to download the latest nightly  version of gombo sdk ..
http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4/
The steps to install the sdk is as follows..
1. download from the link given above
2. extract it and paste it under ur c:/... flexBuilder3/sdk/
3. create a new project in ur builder and then gotto project &gt; properties
4. under Flex Compiler click Configure Flex SDKs .. and then add the location of your flex sdk and click ok
5. then change the specifc SDK to Flex4.0..... version
6. under Require Flsh Player version  .. chnage it to 10.0.0 and click ok
This should help you use filereference.load() and fileReference.data
call the event
fileReference.addEventListener(Event.SELECT, onSelectFile);
fileReference.addEventListener(Event.COMPLETE, fileReference_complete);
private function onSelectFile(event:Event):void{
fileReference.load();
}
private function fileReference_complete(evt:Event):void {
img.source = fileReference.data;
}
This should work !
-Naveen !
</description>
		<content:encoded><![CDATA[<p>you can use the file reference to find the absolute path by using the load() function .. but the only way you can do that is by updating your flash player to version 10.0.0 or more and you need to download the latest nightly  version of gombo sdk ..<br />
<a href="http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4/" rel="nofollow">http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4/</a><br />
The steps to install the sdk is as follows..<br />
1. download from the link given above<br />
2. extract it and paste it under ur c:/&#8230; flexBuilder3/sdk/<br />
3. create a new project in ur builder and then gotto project > properties<br />
4. under Flex Compiler click Configure Flex SDKs .. and then add the location of your flex sdk and click ok<br />
5. then change the specifc SDK to Flex4.0&#8230;.. version<br />
6. under Require Flsh Player version  .. chnage it to 10.0.0 and click ok<br />
This should help you use filereference.load() and fileReference.data<br />
call the event<br />
fileReference.addEventListener(Event.SELECT, onSelectFile);<br />
fileReference.addEventListener(Event.COMPLETE, fileReference_complete);<br />
private function onSelectFile(event:Event):void{<br />
fileReference.load();<br />
}<br />
private function fileReference_complete(evt:Event):void {<br />
img.source = fileReference.data;<br />
}<br />
This should work !<br />
-Naveen !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erchvitz</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/05/10/filereference-updated-in-macromedia-flash-player-9-beta-3/comment-page-1/#comment-669</link>
		<dc:creator>Erchvitz</dc:creator>
		<pubDate>Wed, 17 Dec 2008 06:47:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=177#comment-669</guid>
		<description>Hi Abdul,
Why do I keep getting error messages from my Abdul Flash Player?
It keeps saying it wants to access web content on my PC.
My Abdul Acrobat Reader is fine...
</description>
		<content:encoded><![CDATA[<p>Hi Abdul,<br />
Why do I keep getting error messages from my Abdul Flash Player?<br />
It keeps saying it wants to access web content on my PC.<br />
My Abdul Acrobat Reader is fine&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sandhya</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/05/10/filereference-updated-in-macromedia-flash-player-9-beta-3/comment-page-1/#comment-668</link>
		<dc:creator>sandhya</dc:creator>
		<pubDate>Thu, 28 Feb 2008 20:33:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=177#comment-668</guid>
		<description>hi adbul,
i m trying to use richtexteditor in coldfusion mxml files. But I am not able to do it. can you please helkp me with this
</description>
		<content:encoded><![CDATA[<p>hi adbul,<br />
i m trying to use richtexteditor in coldfusion mxml files. But I am not able to do it. can you please helkp me with this</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ber van Geer</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/05/10/filereference-updated-in-macromedia-flash-player-9-beta-3/comment-page-1/#comment-667</link>
		<dc:creator>Ber van Geer</dc:creator>
		<pubDate>Tue, 25 Sep 2007 10:15:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=177#comment-667</guid>
		<description>Hello,
Im searching for code to loging in to flickr and upload pictures with flash as.
Can someone tell me if there is an example script to find somewhere, I know the basics of actionscript,Im not advanced yet.
Hope that you can help,greetings,Ber.
</description>
		<content:encoded><![CDATA[<p>Hello,<br />
Im searching for code to loging in to flickr and upload pictures with flash as.<br />
Can someone tell me if there is an example script to find somewhere, I know the basics of actionscript,Im not advanced yet.<br />
Hope that you can help,greetings,Ber.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kurt Granroth</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/05/10/filereference-updated-in-macromedia-flash-player-9-beta-3/comment-page-1/#comment-666</link>
		<dc:creator>Kurt Granroth</dc:creator>
		<pubDate>Wed, 06 Sep 2006 03:12:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=177#comment-666</guid>
		<description>the latest beta&#039;s features are really cool, it&#039;s more advanced than the previous version, especially &quot;You can now send HTTP/POST parameters with file-upload request&quot;
</description>
		<content:encoded><![CDATA[<p>the latest beta&#8217;s features are really cool, it&#8217;s more advanced than the previous version, especially &#8220;You can now send HTTP/POST parameters with file-upload request&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gustavo Sanabio</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/05/10/filereference-updated-in-macromedia-flash-player-9-beta-3/comment-page-1/#comment-665</link>
		<dc:creator>Gustavo Sanabio</dc:creator>
		<pubDate>Fri, 21 Jul 2006 00:19:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=177#comment-665</guid>
		<description>Hi Abdul.
Can you upload photos to flickr?
I try to update the code of Darron&#039;s Flickr Api, but I can&#039;t sent photos...
Can you send me your modifications of Photos.upload? Only if you worked on it, of course.
Thanks!!
</description>
		<content:encoded><![CDATA[<p>Hi Abdul.<br />
Can you upload photos to flickr?<br />
I try to update the code of Darron&#8217;s Flickr Api, but I can&#8217;t sent photos&#8230;<br />
Can you send me your modifications of Photos.upload? Only if you worked on it, of course.<br />
Thanks!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abdul Qabiz</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/05/10/filereference-updated-in-macromedia-flash-player-9-beta-3/comment-page-1/#comment-664</link>
		<dc:creator>Abdul Qabiz</dc:creator>
		<pubDate>Fri, 09 Jun 2006 21:11:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=177#comment-664</guid>
		<description>Hi Rajesh,
You can look at Flex 2.0 live docs, there are many examples.
http://livedocs.macromedia.com/labs/1/flex/langref/flash/net/FileReferenceList.html
If you still have problem, let me know.
For coldfusion, I think, following code should work.
&lt;cfset destinationPath = &quot;uploads\&quot;/&gt;
&lt;cffile action=&quot;upload&quot; fileField=&quot;Filedata&quot; destination=&quot;#destinationPath#&quot; nameConflict=&quot;makeUnique&quot; /&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Rajesh,<br />
You can look at Flex 2.0 live docs, there are many examples.<br />
<a href="http://livedocs.macromedia.com/labs/1/flex/langref/flash/net/FileReferenceList.html" rel="nofollow">http://livedocs.macromedia.com/labs/1/flex/langref/flash/net/FileReferenceList.html</a><br />
If you still have problem, let me know.<br />
For coldfusion, I think, following code should work.<br />
&lt;cfset destinationPath = &#8220;uploads\&#8221;/&gt;<br />
&lt;cffile action=&#8221;upload&#8221; fileField=&#8221;Filedata&#8221; destination=&#8221;#destinationPath#&#8221; nameConflict=&#8221;makeUnique&#8221; /&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abdul Qabiz</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/05/10/filereference-updated-in-macromedia-flash-player-9-beta-3/comment-page-1/#comment-663</link>
		<dc:creator>Abdul Qabiz</dc:creator>
		<pubDate>Fri, 09 Jun 2006 20:43:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=177#comment-663</guid>
		<description>Hi Rama,
Due to security sandbox, you can not get the complete path of local-file. You would only get the filename. I understand, it&#039;s frustrating but at the same time secuirty is also important.
You have to do roundtrip (upload to server then download from server) to make it work..
-abdul
</description>
		<content:encoded><![CDATA[<p>Hi Rama,<br />
Due to security sandbox, you can not get the complete path of local-file. You would only get the filename. I understand, it&#8217;s frustrating but at the same time secuirty is also important.<br />
You have to do roundtrip (upload to server then download from server) to make it work..<br />
-abdul</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rajesh Bhadra</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/05/10/filereference-updated-in-macromedia-flash-player-9-beta-3/comment-page-1/#comment-662</link>
		<dc:creator>Rajesh Bhadra</dc:creator>
		<pubDate>Thu, 08 Jun 2006 16:45:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=177#comment-662</guid>
		<description>hi, can you tell me how to upload an image on the swf file in Flex(Flex 2 beta 3) using FileReference and send it across to the coldfusion and store it in  some file system....thank you
</description>
		<content:encoded><![CDATA[<p>hi, can you tell me how to upload an image on the swf file in Flex(Flex 2 beta 3) using FileReference and send it across to the coldfusion and store it in  some file system&#8230;.thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rama</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/05/10/filereference-updated-in-macromedia-flash-player-9-beta-3/comment-page-1/#comment-661</link>
		<dc:creator>Rama</dc:creator>
		<pubDate>Wed, 07 Jun 2006 15:27:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=177#comment-661</guid>
		<description>Hi Abdul,
I am trying to use the FileReference Class to load images into my flex application directly at runtime....however i cannot trace the complete location of the file i select from the browse method.....can u help??
send me some link or anything!,
Rama.
Thanks in advance
</description>
		<content:encoded><![CDATA[<p>Hi Abdul,<br />
I am trying to use the FileReference Class to load images into my flex application directly at runtime&#8230;.however i cannot trace the complete location of the file i select from the browse method&#8230;..can u help??<br />
send me some link or anything!,<br />
Rama.<br />
Thanks in advance</p>
]]></content:encoded>
	</item>
</channel>
</rss>
