# startDrag Question

**URL:** <https://forum.kirupa.com/t/startdrag-question/166676>\
**Category:** flash\
**Created:** [October 21, 2005, 7:23pm UTC](https://forum.kirupa.com/t/startdrag-question/166676 "2005-10-21T19:23:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![slinkyart](https://avatars.discourse-cdn.com/v4/letter/s/77aa72/32.png) [@slinkyart](https://forum.kirupa.com/u/slinkyart)\
**Post date:** [October 21, 2005, 7:23pm UTC](https://forum.kirupa.com/t/startdrag-question/166676/1 "2005-10-21T19:23:12Z")

</div>

Okay, so I have this code on my object:

\*on (press) {  
with (\_root.window1)  
with (\_root.window3)  
with (\_root.window4) {  
gotoAndStop(1);  
}  
gotoAndPlay(2);  
startDrag(this);  
this.swapDepths(\_root.getNextHighestDepth());  
}

on (release) {  
stopDrag();  
}\*

But it doesn’t stop dragging when I release my mouse! When I release, it just keeps moving around…what do I need to do for that?

Thank you in advance for your help!!
