# Help! d/drop lands in top left corner of target?

**URL:** <https://forum.kirupa.com/t/help-d-drop-lands-in-top-left-corner-of-target/222007>\
**Category:** flash\
**Created:** [April 10, 2007, 4:31am UTC](https://forum.kirupa.com/t/help-d-drop-lands-in-top-left-corner-of-target/222007 "2007-04-10T04:31:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Poolbear2](https://avatars.discourse-cdn.com/v4/letter/p/50afbb/32.png) [@Poolbear2](https://forum.kirupa.com/u/Poolbear2)\
**Post date:** [April 10, 2007, 4:31am UTC](https://forum.kirupa.com/t/help-d-drop-lands-in-top-left-corner-of-target/222007/1 "2007-04-10T04:31:15Z")

</div>

Hey everyone this I think is a quick fix but I’m not sure how to do it.  
I created a quick game for my students and the drag and drop coding i think is messed up somehow. Ok so I drag the movieclip to its target and it drops but it stays in the top left corner of the target. I don’t know if I’m describing this clear enough so I uploaded the site to show you all and get help.  
[http://montgomeryschoolsmd.org/schools/woodlines/fractions/fractionsnumberline.html](http://montgomeryschoolsmd.org/schools/woodlines/fractions/fractionsnumberline.html)

For example the coding under the first target is below. Anyone know why it’s doing this? the last game i made which I literally copied from is fine. Help!!!  
Lindsey  
[lwhyte1980@hotmail.com](mailto:lwhyte1980@hotmail.com)

zerohalfs\_mc.onPress = function(){  
this.startDrag();  
};  
zerohalfs\_mc.onRelease = zerohalfs\_mc.onReleaseOutside = function(){  
this.stopDrag();  
if ( eval(this.\_droptarget) == firsttarget\_mc ) {  
this.\_x = 12;  
this.\_y = 137;  
status\_mc.gotoAndPlay(“correct”);  
} else {  
this.\_x = 224;  
this.\_y = 255;  
statusWrong\_mc.gotoAndPlay (“wrong”);  
}  
};
