<?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>Komentáre k DragManager.doDrag problems</title>
	<atom:link href="http://franto.com/dragmanagerdodrag-problems/feed/" rel="self" type="application/rss+xml" />
	<link>http://franto.com/dragmanagerdodrag-problems/</link>
	<description></description>
	<lastBuildDate>Wed, 17 Aug 2011 07:37:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>Od: Tito</title>
		<link>http://franto.com/dragmanagerdodrag-problems/comment-page-1/#comment-38499</link>
		<dc:creator>Tito</dc:creator>
		<pubDate>Thu, 23 Sep 2010 23:18:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.franto.com/?p=938#comment-38499</guid>
		<description>Hi Franto, first of all, thanks for the help.
I did in a different way, I passed the control (Subject.Subject) and not the image of it:

&lt;b&gt;
private function mouseDownEventHandlerObject(event:MouseEvent):void 
{                
	var subj:Subject.Subject = new Subject.Subject();
	subj = Subject.Subject(event.currentTarget);
	var dragInitiator:* = (event.currentTarget);
	var ds:DragSource = new DragSource();
	ds.addData(event.currentTarget, &quot;Control&quot;);
	DragManager.doDrag(dragInitiator, ds, event, subj, -15, -15);
}
&lt;/b&gt;

But I have some doubts related with the proxy image, because when I am dragging it, the mouse pointer is not at the proxy image center, do you know how can make the mouse to point to the center of the proxy image?
Thanks,
Tito</description>
		<content:encoded><![CDATA[<p>Hi Franto, first of all, thanks for the help.<br />
I did in a different way, I passed the control (Subject.Subject) and not the image of it:</p>
<p><b><br />
private function mouseDownEventHandlerObject(event:MouseEvent):void<br />
{<br />
	var subj:Subject.Subject = new Subject.Subject();<br />
	subj = Subject.Subject(event.currentTarget);<br />
	var dragInitiator:* = (event.currentTarget);<br />
	var ds:DragSource = new DragSource();<br />
	ds.addData(event.currentTarget, &#8220;Control&#8221;);<br />
	DragManager.doDrag(dragInitiator, ds, event, subj, -15, -15);<br />
}<br />
</b></p>
<p>But I have some doubts related with the proxy image, because when I am dragging it, the mouse pointer is not at the proxy image center, do you know how can make the mouse to point to the center of the proxy image?<br />
Thanks,<br />
Tito</p>
]]></content:encoded>
	</item>
</channel>
</rss>

