<?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: drag &amp; drop example</title>
	<atom:link href="http://blog.flexgeek.in/2007/03/drag-drop-example/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexgeek.in/2007/03/drag-drop-example/</link>
	<description></description>
	<lastBuildDate>Fri, 19 Mar 2010 09:06:47 +0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Stephen</title>
		<link>http://blog.flexgeek.in/2007/03/drag-drop-example/comment-page-1/#comment-50</link>
		<dc:creator>Stephen</dc:creator>
		<pubDate>Wed, 08 Oct 2008 15:05:26 +0000</pubDate>
		<guid isPermaLink="false">http://flexgeek.wordpress.com/2007/03/15/drag-drop-example/#comment-50</guid>
		<description>Looks good, but I&#039;m working with Flex 3, and in order to get the example to work I had to change

dragProxy.setActualSize(event.currentTarget.width,event.currentTarget.height);

to

dragProxy.height=event.currentTarget.height;
dragProxy.width=event.currentTarget.width;</description>
		<content:encoded><![CDATA[<p>Looks good, but I&#8217;m working with Flex 3, and in order to get the example to work I had to change</p>
<p>dragProxy.setActualSize(event.currentTarget.width,event.currentTarget.height);</p>
<p>to</p>
<p>dragProxy.height=event.currentTarget.height;<br />
dragProxy.width=event.currentTarget.width;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Diseño web</title>
		<link>http://blog.flexgeek.in/2007/03/drag-drop-example/comment-page-1/#comment-49</link>
		<dc:creator>Diseño web</dc:creator>
		<pubDate>Wed, 03 Sep 2008 14:24:12 +0000</pubDate>
		<guid isPermaLink="false">http://flexgeek.wordpress.com/2007/03/15/drag-drop-example/#comment-49</guid>
		<description>Thank you for this great example!
Your &quot;FormattedStepper - NumericStepper with formatting support&quot; is great too!!
Thank you for sharing! =)</description>
		<content:encoded><![CDATA[<p>Thank you for this great example!<br />
Your &#8220;FormattedStepper &#8211; NumericStepper with formatting support&#8221; is great too!!<br />
Thank you for sharing! =)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amar shukla</title>
		<link>http://blog.flexgeek.in/2007/03/drag-drop-example/comment-page-1/#comment-48</link>
		<dc:creator>amar shukla</dc:creator>
		<pubDate>Tue, 12 Aug 2008 05:29:27 +0000</pubDate>
		<guid isPermaLink="false">http://flexgeek.wordpress.com/2007/03/15/drag-drop-example/#comment-48</guid>
		<description>But Mark it will work only if you have images of similar dimesnsions otherwise it will not be useful..isn&#039;t it?
So its not the permanent solution dude!</description>
		<content:encoded><![CDATA[<p>But Mark it will work only if you have images of similar dimesnsions otherwise it will not be useful..isn&#8217;t it?<br />
So its not the permanent solution dude!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shekhar</title>
		<link>http://blog.flexgeek.in/2007/03/drag-drop-example/comment-page-1/#comment-47</link>
		<dc:creator>shekhar</dc:creator>
		<pubDate>Mon, 21 Apr 2008 13:38:45 +0000</pubDate>
		<guid isPermaLink="false">http://flexgeek.wordpress.com/2007/03/15/drag-drop-example/#comment-47</guid>
		<description>thanks dude
it helped</description>
		<content:encoded><![CDATA[<p>thanks dude<br />
it helped</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Easton</title>
		<link>http://blog.flexgeek.in/2007/03/drag-drop-example/comment-page-1/#comment-46</link>
		<dc:creator>Mark Easton</dc:creator>
		<pubDate>Sun, 20 Apr 2008 17:55:39 +0000</pubDate>
		<guid isPermaLink="false">http://flexgeek.wordpress.com/2007/03/15/drag-drop-example/#comment-46</guid>
		<description>Geddesigns comment is incorrect, although his idea is right. I would note that if people are going to post such comments that they should try to be accurate else it throws so many people off. Bad Geddesign! dragInitiator.width and height are the settings for the TileList control. No good! I for example am dragging an image within the TileList control so want the width and height of that image. In my case it is a fixed size so I use that. Furthermore, there is no mouseX and mouseY available for the drag event. There is instead localX and localY attributes. So I used the following which gave me the desired result:

img.x = event.localX - (30/2);
img.y = event.localY - (30/2);

I agree too, cool example!</description>
		<content:encoded><![CDATA[<p>Geddesigns comment is incorrect, although his idea is right. I would note that if people are going to post such comments that they should try to be accurate else it throws so many people off. Bad Geddesign! dragInitiator.width and height are the settings for the TileList control. No good! I for example am dragging an image within the TileList control so want the width and height of that image. In my case it is a fixed size so I use that. Furthermore, there is no mouseX and mouseY available for the drag event. There is instead localX and localY attributes. So I used the following which gave me the desired result:</p>
<p>img.x = event.localX &#8211; (30/2);<br />
img.y = event.localY &#8211; (30/2);</p>
<p>I agree too, cool example!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Swaminathan</title>
		<link>http://blog.flexgeek.in/2007/03/drag-drop-example/comment-page-1/#comment-44</link>
		<dc:creator>Swaminathan</dc:creator>
		<pubDate>Thu, 21 Feb 2008 06:55:53 +0000</pubDate>
		<guid isPermaLink="false">http://flexgeek.wordpress.com/2007/03/15/drag-drop-example/#comment-44</guid>
		<description>Thank you very much folk.... Cool Example...</description>
		<content:encoded><![CDATA[<p>Thank you very much folk&#8230;. Cool Example&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cosmin</title>
		<link>http://blog.flexgeek.in/2007/03/drag-drop-example/comment-page-1/#comment-45</link>
		<dc:creator>Cosmin</dc:creator>
		<pubDate>Mon, 17 Sep 2007 13:27:04 +0000</pubDate>
		<guid isPermaLink="false">http://flexgeek.wordpress.com/2007/03/15/drag-drop-example/#comment-45</guid>
		<description>can you give me the hint for the inverse operation? I need to drag an image over a list, and I can&#039;t find out the row index.</description>
		<content:encoded><![CDATA[<p>can you give me the hint for the inverse operation? I need to drag an image over a list, and I can&#8217;t find out the row index.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geddesign</title>
		<link>http://blog.flexgeek.in/2007/03/drag-drop-example/comment-page-1/#comment-43</link>
		<dc:creator>Geddesign</dc:creator>
		<pubDate>Tue, 11 Sep 2007 06:20:12 +0000</pubDate>
		<guid isPermaLink="false">http://flexgeek.wordpress.com/2007/03/15/drag-drop-example/#comment-43</guid>
		<description>It looks a bit smoother if you drop it off at more accurate point. So instead of dropping the image at the mouseX, drop it at mouseX - (dragInitiator.width/2)

This centers the drop a little better. Do this for mouseX and mouseY.
(for mouseY use dragInitiator.height)</description>
		<content:encoded><![CDATA[<p>It looks a bit smoother if you drop it off at more accurate point. So instead of dropping the image at the mouseX, drop it at mouseX &#8211; (dragInitiator.width/2)</p>
<p>This centers the drop a little better. Do this for mouseX and mouseY.<br />
(for mouseY use dragInitiator.height)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: quan</title>
		<link>http://blog.flexgeek.in/2007/03/drag-drop-example/comment-page-1/#comment-42</link>
		<dc:creator>quan</dc:creator>
		<pubDate>Thu, 05 Jul 2007 16:07:38 +0000</pubDate>
		<guid isPermaLink="false">http://flexgeek.wordpress.com/2007/03/15/drag-drop-example/#comment-42</guid>
		<description>cool example</description>
		<content:encoded><![CDATA[<p>cool example</p>
]]></content:encoded>
	</item>
</channel>
</rss>
