<?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: Simple Drag and Drop into AIR</title>
	<atom:link href="http://blog.everythingflex.com/2008/02/25/simple-drag-and-drop-into-air/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.everythingflex.com/2008/02/25/simple-drag-and-drop-into-air/</link>
	<description>News and Information about Adobe Flex &#38; Adobe AIR by Rich Tretola</description>
	<lastBuildDate>Wed, 17 Mar 2010 19:50:11 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Danel Kirch</title>
		<link>http://blog.everythingflex.com/2008/02/25/simple-drag-and-drop-into-air/comment-page-1/#comment-60260</link>
		<dc:creator>Danel Kirch</dc:creator>
		<pubDate>Sun, 07 Mar 2010 13:13:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.everythingflex.com/2008/02/25/simple-drag-and-drop-into-air/#comment-60260</guid>
		<description>Another thing you can do to write less code for switch case is as follows:


switch (file.extension.toLowerCase()) {
	case &quot;png&quot; :
	case &quot;jpg&quot; :
	case &quot;jpeg&quot; :
	case &quot;gif&quot; :
	    addImage(file.nativePath);
            break;
       default:
            Alert.show(&quot;Unmapped Extension&quot;);
            break;
}

That will run addImage() on all cases except default.</description>
		<content:encoded><![CDATA[<p>Another thing you can do to write less code for switch case is as follows:</p>
<p>switch (file.extension.toLowerCase()) {<br />
	case &#8220;png&#8221; :<br />
	case &#8220;jpg&#8221; :<br />
	case &#8220;jpeg&#8221; :<br />
	case &#8220;gif&#8221; :<br />
	    addImage(file.nativePath);<br />
            break;<br />
       default:<br />
            Alert.show(&#8221;Unmapped Extension&#8221;);<br />
            break;<br />
}</p>
<p>That will run addImage() on all cases except default.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: custom  essay</title>
		<link>http://blog.everythingflex.com/2008/02/25/simple-drag-and-drop-into-air/comment-page-1/#comment-58972</link>
		<dc:creator>custom  essay</dc:creator>
		<pubDate>Thu, 28 Jan 2010 18:32:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.everythingflex.com/2008/02/25/simple-drag-and-drop-into-air/#comment-58972</guid>
		<description>I found your website perfect for my needs. It contains wonderful and helpful posts. I have read most of them and got a lot from them. To me, you are doing the great work. Carry on this. work at home In the end, I would like to thank you for making such a nice website.</description>
		<content:encoded><![CDATA[<p>I found your website perfect for my needs. It contains wonderful and helpful posts. I have read most of them and got a lot from them. To me, you are doing the great work. Carry on this. work at home In the end, I would like to thank you for making such a nice website.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Talal</title>
		<link>http://blog.everythingflex.com/2008/02/25/simple-drag-and-drop-into-air/comment-page-1/#comment-55715</link>
		<dc:creator>Talal</dc:creator>
		<pubDate>Tue, 17 Nov 2009 10:11:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.everythingflex.com/2008/02/25/simple-drag-and-drop-into-air/#comment-55715</guid>
		<description>I really appreciate this script.. this is basic and cute..

But i have made some following changes using Flex Builder 3 to run it correctly i.e.

change &quot;import flash.filesystem.file;&quot; to &quot;import flash.filesystem.*;&quot;

&amp;

change &quot;addImage(file.nativePath);&quot; to &quot;addImage(file.name);&quot;

Thanks</description>
		<content:encoded><![CDATA[<p>I really appreciate this script.. this is basic and cute..</p>
<p>But i have made some following changes using Flex Builder 3 to run it correctly i.e.</p>
<p>change &#8220;import flash.filesystem.file;&#8221; to &#8220;import flash.filesystem.*;&#8221;</p>
<p>&amp;</p>
<p>change &#8220;addImage(file.nativePath);&#8221; to &#8220;addImage(file.name);&#8221;</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rich Tretola</title>
		<link>http://blog.everythingflex.com/2008/02/25/simple-drag-and-drop-into-air/comment-page-1/#comment-55606</link>
		<dc:creator>Rich Tretola</dc:creator>
		<pubDate>Sat, 14 Nov 2009 20:44:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.everythingflex.com/2008/02/25/simple-drag-and-drop-into-air/#comment-55606</guid>
		<description>It should be under flash.desktop.NativeDragManager</description>
		<content:encoded><![CDATA[<p>It should be under flash.desktop.NativeDragManager</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeannie</title>
		<link>http://blog.everythingflex.com/2008/02/25/simple-drag-and-drop-into-air/comment-page-1/#comment-55579</link>
		<dc:creator>Jeannie</dc:creator>
		<pubDate>Sat, 14 Nov 2009 06:06:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.everythingflex.com/2008/02/25/simple-drag-and-drop-into-air/#comment-55579</guid>
		<description>This is a great help; I have already learned alot.

I receive and error saying:
Type was not found or was not a compile time constant:NativeDragEvent

I am using a Flash Builder 4 nightly build.  Do you know what has changed in using the NativeDragManager?</description>
		<content:encoded><![CDATA[<p>This is a great help; I have already learned alot.</p>
<p>I receive and error saying:<br />
Type was not found or was not a compile time constant:NativeDragEvent</p>
<p>I am using a Flash Builder 4 nightly build.  Do you know what has changed in using the NativeDragManager?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

