# Problem with draggable movieclip

**URL:** <https://forum.kirupa.com/t/problem-with-draggable-movieclip/235916>\
**Category:** flash\
**Created:** [August 15, 2007, 7:04pm UTC](https://forum.kirupa.com/t/problem-with-draggable-movieclip/235916 "2007-08-15T19:04:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anthalus](https://avatars.discourse-cdn.com/v4/letter/a/ea5d25/32.png) [@Anthalus](https://forum.kirupa.com/u/Anthalus)\
**Post date:** [August 15, 2007, 7:04pm UTC](https://forum.kirupa.com/t/problem-with-draggable-movieclip/235916/1 "2007-08-15T19:04:47Z")

</div>

Hello guys!

Well, i have an issue with some startDrag objects.

I am using this code:

botaoProblemas.onPress = function() {  
this.startDrag();  
};

botaoProblemas.onRelease = function() {  
botoes(this);  
};

function botoes(mc:MovieClip) {  
mc.stopDrag();  
//more random stuff  
}

problem is:

1 - Sometimes i just cant target it, no idea why (i imported the Ai files and then just hit F8 and make it a movieclip)

2 - Sometimes, when i press the movieclip goes to strange coordinate
