<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Armindo Cachada&#039;s Blog: Struts 2, Adobe Flex and ATG &#187; drag and drop</title>
	<atom:link href="http://www.spltech.co.uk/blog/tag/drag-and-drop/feed" rel="self" type="application/rss+xml" />
	<link>http://www.spltech.co.uk/blog</link>
	<description>In this blog I talk about Struts 2, Adobe Flex, JBOSS, ATG and other technologies.</description>
	<lastBuildDate>Sun, 14 Feb 2010 15:33:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Native Drag and Drop in Adobe Air with example</title>
		<link>http://www.spltech.co.uk/blog/adobe-air/native-drag-and-drop-in-adobe-air-with-example</link>
		<comments>http://www.spltech.co.uk/blog/adobe-air/native-drag-and-drop-in-adobe-air-with-example#comments</comments>
		<pubDate>Sat, 03 Oct 2009 17:40:05 +0000</pubDate>
		<dc:creator>Armindo Cachada</dc:creator>
				<category><![CDATA[Adobe Air]]></category>
		<category><![CDATA[drag and drop]]></category>
		<category><![CDATA[native drag and drop]]></category>

		<guid isPermaLink="false">http://www.spltech.co.uk/blog/?p=123</guid>
		<description><![CDATA[In this tutorial I will teach you how to create a simple adobe air application with native drag and drop support using a file system manager as example, that can copy/move files dragged to/from the OS desktop.
What does it mean to create an application with native drag and drop support?
The standard drag &#38; drop functionality [...]]]></description>
		<wfw:commentRss>http://www.spltech.co.uk/blog/adobe-air/native-drag-and-drop-in-adobe-air-with-example/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Adding Drag and Drag functionality in Adobe Air</title>
		<link>http://www.spltech.co.uk/blog/adobe-flex/ui/adding-drag-and-drag-functionality-in-adobe-air</link>
		<comments>http://www.spltech.co.uk/blog/adobe-flex/ui/adding-drag-and-drag-functionality-in-adobe-air#comments</comments>
		<pubDate>Wed, 09 Sep 2009 16:18:34 +0000</pubDate>
		<dc:creator>Armindo Cachada</dc:creator>
				<category><![CDATA[Adobe Air]]></category>
		<category><![CDATA[UI]]></category>
		<category><![CDATA[Adobe Flex]]></category>
		<category><![CDATA[drag and drop]]></category>
		<category><![CDATA[flex 3]]></category>

		<guid isPermaLink="false">http://www.spltech.co.uk/blog/?p=95</guid>
		<description><![CDATA[In this tutorial I will teach you step by step how to use the out of the box drag &#038; drop functionality provided by flex list controls.

Just some basic theory before we go into code. The drag &#038; drop process has three stages – initiation, dragging and dropping.

The initiation is when the user clicks on a flex component and keeps the button pressed. In this case the component that the user clicks on is the drag initiator. Any flex component that supports dragging will handle either the mouseDown() or mouseMove() event to initiate the drag &#038; drop operation. The event handler will then create a DragSource object which contains data related to the object being dragged. For example if you are dragging a file between two components, the DragSource object will contain a reference to a File object. Once the DragSource is constructed the DragManager.doDrag() method is called where the first argument is a reference to the object that initiated the drag, the second argument is the DragSource object and the third argument is a reference to the mouse event that called the event handler. There is a fourth optional argument that allows to specify a drag proxy that may be used to represent the object being dragged on the screen(e.g. a semi-transparent version of the drag initiator)

In the Dragging stage the user moves the flex component across the screen up to the drop target. If you specify a drag proxy image, that is what is shown on the screen when dragging the component. If not specified a rectangle will be shown instead.

In the dropping stage when the component being dragged arrives to a potential drop target, a dragEnter event is raised. The event handler that handles this event should check whether the DragSource object contains data that is of an acceptable format.  If that’s the case then DragManager.acceptDragDrop() is called indicating that the drop target is happy in accepting the dragged data.]]></description>
		<wfw:commentRss>http://www.spltech.co.uk/blog/adobe-flex/ui/adding-drag-and-drag-functionality-in-adobe-air/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
