# Drag drop droptarget

**URL:** <https://forum.kirupa.com/t/drag-drop-droptarget/291121>\
**Category:** Uncategorized\
**Created:** [June 24, 2009, 9:59pm UTC](https://forum.kirupa.com/t/drag-drop-droptarget/291121 "2009-06-24T21:59:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nath\_y](https://avatars.discourse-cdn.com/v4/letter/n/b9e5f3/32.png) [@nath\_y](https://forum.kirupa.com/u/nath_y)\
**Post date:** [June 24, 2009, 9:59pm UTC](https://forum.kirupa.com/t/drag-drop-droptarget/291121/1 "2009-06-24T21:59:40Z")

</div>

Hi

i have 3 movieclips on stage (redSquare\_mc, blueSquare\_mc blackSquare\_mc)  
I would like to drag and drop one of the movieclip inbetween the other squares.

so if i have redSquare\_mc, blueSquare\_mc, blackSquare\_mc -\> I would like to drag blackSquare\_mc and put it in between redSquare\_mc, blueSquare\_mc AND blueSquare\_mc takes the position of where blackSquare\_mc was initially.

does it make sense?

Please help.  
y
