<?xml version="1.0" encoding="iso-8859-1"?><rss version="2.0">
<channel><title><![CDATA[ActionScript.org Flash, Flex and ActionScript Resources - Comments for article: Drag 'n Drop and Drop Targets]]></title><link>http://www.actionscript.org/resources</link><description /><language>en-us</language><copyright><![CDATA[http://www.actionscript.org/resources]]></copyright><generator>N/A</generator><webMaster>general.redirect@gmail.com</webMaster><lastBuildDate>Sun, 19 May 2013 07:42:33 CDT</lastBuildDate><ttl>20</ttl><item><title><![CDATA[Comment #1]]></title><link>http://www.actionscript.org/resources/articles/26/1/Drag-n-Drop-and-Drop-Targets/Page1.html#Comment3523</link><description><![CDATA[Thanks i needed that!<br/><br/>
(Comment posted by nik at 11:50 am, Mon 28th May 2007)]]></description><author>no@spam.com (nik)</author><pubDate><![CDATA[Mon, 28 May 2007 11:50:42 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/26/1/Drag-n-Drop-and-Drop-Targets/Page1.html#Comment3523</guid></item><item><title><![CDATA[Comment #2]]></title><link>http://www.actionscript.org/resources/articles/26/1/Drag-n-Drop-and-Drop-Targets/Page1.html#Comment6724</link><description><![CDATA[You comment that we should 'see the paths tutorial for more on this' however it would be very helpful if that text was infact linked to that lesson so one could flip back and forth when trying to make sense of this action.  <br/><br/>
(Comment posted by Kris at 3:30 am, Sat 13th Oct 2007)]]></description><author>no@spam.com (Kris)</author><pubDate><![CDATA[Sat, 13 Oct 2007 03:30:59 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/26/1/Drag-n-Drop-and-Drop-Targets/Page1.html#Comment6724</guid></item><item><title><![CDATA[Comment #3]]></title><link>http://www.actionscript.org/resources/articles/26/1/Drag-n-Drop-and-Drop-Targets/Page1.html#Comment7168</link><description><![CDATA[will this work for flash cs3<br/><br/>
(Comment posted by mahir at 6:21 am, Tue 30th Oct 2007)]]></description><author>no@spam.com (mahir)</author><pubDate><![CDATA[Tue, 30 Oct 2007 06:21:38 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/26/1/Drag-n-Drop-and-Drop-Targets/Page1.html#Comment7168</guid></item><item><title><![CDATA[Comment #4]]></title><link>http://www.actionscript.org/resources/articles/26/1/Drag-n-Drop-and-Drop-Targets/Page1.html#Comment8666</link><description><![CDATA[i cant get this to work when the whole setup is within a movieclip too. I used _parent. instead of root but for some reason its not working?<br/><br/>
(Comment posted by rs at 10:01 am, Sun 6th Jan 2008)]]></description><author>no@spam.com (rs)</author><pubDate><![CDATA[Sun, 06 Jan 2008 10:01:29 CST]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/26/1/Drag-n-Drop-and-Drop-Targets/Page1.html#Comment8666</guid></item><item><title><![CDATA[Comment #5]]></title><link>http://www.actionscript.org/resources/articles/26/1/Drag-n-Drop-and-Drop-Targets/Page1.html#Comment9658</link><description><![CDATA[in MX 2004, the release stopdrag won't work unless you take the second parameter "true" in the startDrag() method out. i guess the parameter has changed since version 5.<br/><br/>
(Comment posted by pete at 9:07 am, Thu 21st Feb 2008)]]></description><author>no@spam.com (pete)</author><pubDate><![CDATA[Thu, 21 Feb 2008 09:07:49 CST]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/26/1/Drag-n-Drop-and-Drop-Targets/Page1.html#Comment9658</guid></item><item><title><![CDATA[Comment #6]]></title><link>http://www.actionscript.org/resources/articles/26/1/Drag-n-Drop-and-Drop-Targets/Page1.html#Comment12752</link><description><![CDATA[AS1? Aw... I thought I was on to something here...<br/><br/>
(Comment posted by Jamster at 12:29 pm, Sat 14th Mar 2009)]]></description><author>no@spam.com (Jamster)</author><pubDate><![CDATA[Sat, 14 Mar 2009 12:29:57 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/26/1/Drag-n-Drop-and-Drop-Targets/Page1.html#Comment12752</guid></item><item><title><![CDATA[Comment #7]]></title><link>http://www.actionscript.org/resources/articles/26/1/Drag-n-Drop-and-Drop-Targets/Page1.html#Comment12982</link><description><![CDATA[using _root is not a recommended coding practice.  If you need to have another flash object(such as embedding a flash object into something like Captivate) launch the object with your drag and drop and it has _root references in it it will not work properly as the _root calls will direct to the parent launching SWF rather than the drag and drop swf.<br/><br/>
(Comment posted by Ian at 11:48 am, Thu 7th May 2009)]]></description><author>no@spam.com (Ian)</author><pubDate><![CDATA[Thu, 07 May 2009 11:48:48 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/26/1/Drag-n-Drop-and-Drop-Targets/Page1.html#Comment12982</guid></item><item><title><![CDATA[Comment #8 (Reply to Comment #7)]]></title><link>http://www.actionscript.org/resources/articles/26/1/Drag-n-Drop-and-Drop-Targets/Page1.html#Comment12983</link><description><![CDATA[That's true indeed. This is quite an old tutorial. People should use relative paths (_parent, etc) in place of absolute paths as much as possible.<br/><br/>
(Comment posted by Jesse Stratford at 7:13 pm, Thu 7th May 2009)]]></description><author>no@spam.com (Jesse Stratford)</author><pubDate><![CDATA[Thu, 07 May 2009 19:13:27 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/26/1/Drag-n-Drop-and-Drop-Targets/Page1.html#Comment12983</guid></item><item><title><![CDATA[Comment #9]]></title><link>http://www.actionscript.org/resources/articles/26/1/Drag-n-Drop-and-Drop-Targets/Page1.html#Comment13180</link><description><![CDATA[how do i make this a modular function instead of just coding the movieclip?
so if i have 100 movieclips i have to code every one of them?<br/><br/>
(Comment posted by Taylor Lee at 10:45 am, Wed 1st Jul 2009)]]></description><author>no@spam.com (Taylor Lee)</author><pubDate><![CDATA[Wed, 01 Jul 2009 10:45:30 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/26/1/Drag-n-Drop-and-Drop-Targets/Page1.html#Comment13180</guid></item><item><title><![CDATA[Comment #10]]></title><link>http://www.actionscript.org/resources/articles/26/1/Drag-n-Drop-and-Drop-Targets/Page1.html#Comment13224</link><description><![CDATA[nice<br/><br/>
(Comment posted by vijay at 8:12 am, Sun 12th Jul 2009)]]></description><author>no@spam.com (vijay)</author><pubDate><![CDATA[Sun, 12 Jul 2009 08:12:01 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/26/1/Drag-n-Drop-and-Drop-Targets/Page1.html#Comment13224</guid></item><item><title><![CDATA[Comment #11]]></title><link>http://www.actionscript.org/resources/articles/26/1/Drag-n-Drop-and-Drop-Targets/Page1.html#Comment13482</link><description><![CDATA[The downloaded file worked OK.  Trying it on my own Flash files, it wouldn't let me put actions on a button even within a movie clip.<br/><br/>
(Comment posted by Daniel at 5:08 pm, Mon 21st Sep 2009)]]></description><author>no@spam.com (Daniel)</author><pubDate><![CDATA[Mon, 21 Sep 2009 17:08:05 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/26/1/Drag-n-Drop-and-Drop-Targets/Page1.html#Comment13482</guid></item><item><title><![CDATA[Comment #12]]></title><link>http://www.actionscript.org/resources/articles/26/1/Drag-n-Drop-and-Drop-Targets/Page1.html#Comment15449</link><description><![CDATA[I need help with drag and drop function. 

I need define/create more targets than one "trolley" target. How can I do it? e.g. list of trolley1, trolley2, trolley3 ... I don't know do that. when I drag object on target - trolley1 or trolley3, it attaches object to target. 
Can you help me? Thank you very much. 
my code: 

protected function stageUp(event:MouseEvent):void{ 
stage.removeEventListener(MouseEvent.MOUSE_UP, stageUp); 
stopDrag(); 

if(dropTarget){ 

if (dropTarget.parent.name == "trolley"){ 

buttonMode = false; 
removeEventListener(MouseEvent.MOUSE_DOWN, down);objektu 

}else{ 
returnToOriginalPosition(); 

} 
}else{ 
returnToOriginalPosition(); 
/*trace("dropped on nothing");*/ 
} 

}<br/><br/>
(Comment posted by luca at 2:52 pm, Tue 30th Nov 2010)]]></description><author>no@spam.com (luca)</author><pubDate><![CDATA[Tue, 30 Nov 2010 14:52:19 CST]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/26/1/Drag-n-Drop-and-Drop-Targets/Page1.html#Comment15449</guid></item></channel></rss>