<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>CarefulWeb - Latest Comments in Careful Web: Upload to server with Adobe AIR and JavaScript</title><link>http://carefulweb.disqus.com/</link><description></description><atom:link href="https://carefulweb.disqus.com/careful_web_upload_to_server_with_adobe_air_and_javascript/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 08 Mar 2012 09:53:38 -0000</lastBuildDate><item><title>Re: Careful Web: Upload to server with Adobe AIR and JavaScript</title><link>http://carefulweb.com/blog/2008/06/24/upload-server-adobe-air-and-javascript/#comment-459785932</link><description>&lt;p&gt;Thank you very much! &lt;br&gt;air.DataEvent.UPLOAD_COMPLETE_DATA&lt;br&gt;doesnt seem to be in the Javascript air documentation.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">GDiz</dc:creator><pubDate>Thu, 08 Mar 2012 09:53:38 -0000</pubDate></item><item><title>Re: Careful Web: Upload to server with Adobe AIR and JavaScript</title><link>http://carefulweb.com/blog/2008/06/24/upload-server-adobe-air-and-javascript/#comment-81076795</link><description>&lt;p&gt;I just real wanna say thank you. you save a lots of my time, man!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Captainkoo</dc:creator><pubDate>Mon, 27 Sep 2010 00:10:55 -0000</pubDate></item><item><title>Re: Careful Web: Upload to server with Adobe AIR and JavaScript</title><link>http://carefulweb.com/blog/2008/06/24/upload-server-adobe-air-and-javascript/#comment-73059324</link><description>&lt;p&gt;Thanks man... that really saved me a boatload of time!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sefi</dc:creator><pubDate>Mon, 30 Aug 2010 00:34:14 -0000</pubDate></item><item><title>Re: Careful Web: Upload to server with Adobe AIR and JavaScript</title><link>http://carefulweb.com/blog/2008/06/24/upload-server-adobe-air-and-javascript/#comment-34120286</link><description>&lt;p&gt;Bala, I simply used free online image posting service, so no any php code for this. It should be pretty simple, you may take any php example with upload form. Just set right file form/POST field in AIR and in PHP.&lt;/p&gt;&lt;p&gt;AIR file field name is 'pic' (see last line of my code example).&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dobrych</dc:creator><pubDate>Sat, 13 Feb 2010 13:38:11 -0000</pubDate></item><item><title>Re: Careful Web: Upload to server with Adobe AIR and JavaScript</title><link>http://carefulweb.com/blog/2008/06/24/upload-server-adobe-air-and-javascript/#comment-34099444</link><description>&lt;p&gt;what does your upload.php look like?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">bala</dc:creator><pubDate>Sat, 13 Feb 2010 08:15:52 -0000</pubDate></item><item><title>Re: Careful Web: Upload to server with Adobe AIR and JavaScript</title><link>http://carefulweb.com/blog/2008/06/24/upload-server-adobe-air-and-javascript/#comment-23904460</link><description>&lt;p&gt;Sorry, Josh, my main dev machine is Mac too, so I didn't have too much experience with debugging on windows. But my app (with upload code) have been run fine on WinXP on VmWare!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dobrych</dc:creator><pubDate>Mon, 23 Nov 2009 16:55:17 -0000</pubDate></item><item><title>Re: Careful Web: Upload to server with Adobe AIR and JavaScript</title><link>http://carefulweb.com/blog/2008/06/24/upload-server-adobe-air-and-javascript/#comment-23904183</link><description>&lt;p&gt;I got this working great on my mac, awesome help, but for some reason it will not accept dragged files from my windows machine, any thoughts would be awesome.&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Josh</dc:creator><pubDate>Mon, 23 Nov 2009 16:50:46 -0000</pubDate></item><item><title>Re: Careful Web: Upload to server with Adobe AIR and JavaScript</title><link>http://carefulweb.com/blog/2008/06/24/upload-server-adobe-air-and-javascript/#comment-23879655</link><description>&lt;p&gt;You need to add event listener for some button or link, which will run file dialog initialization.&lt;br&gt;&lt;br&gt;Here a sample init dialog code:&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;/p&gt;&lt;pre&gt;var file = new air.File();&lt;br&gt;var filter = new runtime.Array(new air.FileFilter("All files", "*.*"));&lt;br&gt;file.addEventListener(air.Event.SELECT, callback);&lt;br&gt;// where callback will be run on file selection&lt;br&gt;&lt;br&gt;// then show dialog&lt;br&gt;try {&lt;br&gt;       file.browseForOpen("Open file", filter);&lt;br&gt;} catch(e) {}&lt;br&gt;&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dobrych</dc:creator><pubDate>Mon, 23 Nov 2009 10:38:09 -0000</pubDate></item><item><title>Re: Careful Web: Upload to server with Adobe AIR and JavaScript</title><link>http://carefulweb.com/blog/2008/06/24/upload-server-adobe-air-and-javascript/#comment-23872259</link><description>&lt;p&gt;what sould I do if I want the user choose the file to upload ?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sami_c</dc:creator><pubDate>Mon, 23 Nov 2009 07:49:24 -0000</pubDate></item><item><title>Re: Careful Web: Upload to server with Adobe AIR and JavaScript</title><link>http://carefulweb.com/blog/2008/06/24/upload-server-adobe-air-and-javascript/#comment-20653757</link><description>&lt;p&gt;Thank you so much for this entry, this was Amazing! I had been struggling with this all day and I came across your blog and it worked perfectly the first time. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Josh</dc:creator><pubDate>Tue, 20 Oct 2009 17:29:10 -0000</pubDate></item></channel></rss>