# How can i Drag movieclip on another movie Clip

**URL:** https://forum.kirupa.com/t/how-can-i-drag-movieclip-on-another-movie-clip/292752
**Category:** flash
**Created:** [July 18, 2009, 11:26am UTC](https://forum.kirupa.com/t/how-can-i-drag-movieclip-on-another-movie-clip/292752 "2009-07-18T11:26:50Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jeoshamsi](https://avatars.discourse-cdn.com/v4/letter/j/4491bb/32.png) [@jeoshamsi](https://forum.kirupa.com/u/jeoshamsi)
#### Post date: [July 18, 2009, 11:26am UTC](https://forum.kirupa.com/t/how-can-i-drag-movieclip-on-another-movie-clip/292752/1 "2009-07-18T11:26:50Z")

</div>

Hello Guys

I have one Movie Clip in this Movie Clip i have Another Movie Clip with the Name of Drag\_mc  
in this Drag\_mc I am giving the below Scripting and it is working properly.  
//////////////////////////////////////////////////////////////////////////////////  
dragbar\_mc.onPress = function () {  
this.\_parent.startDrag(false);  
};

dragbar\_mc.onRelease = dragbar\_mc.onReleaseOutside = function () {  
this.\_parent.stopDrag();  
if  
};  
///////////////////////////////////////////////////////////////////////////////

On root i have 9 MovieClips one by one and if i Drag this Movie Clip on one of them it can trace its name and value that " On which Movie Clip i have released it?"

Thanks… I am waiting for your Prompt Reply 🙂

Cheer…
