# Drag and drop targets

**URL:** <https://forum.kirupa.com/t/drag-and-drop-targets/27614>\
**Category:** Uncategorized\
**Created:** [August 4, 2003, 7:37pm UTC](https://forum.kirupa.com/t/drag-and-drop-targets/27614 "2003-08-04T19:37:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![m\_c\_bell](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@m\_c\_bell](https://forum.kirupa.com/u/m_c_bell)\
**Post date:** [August 4, 2003, 7:37pm UTC](https://forum.kirupa.com/t/drag-and-drop-targets/27614/1 "2003-08-04T19:37:06Z")

</div>

here is the code i have,

on (press) {  
startDrag (this, true);  
}  
on (release) {  
stopDrag ();  
if (this.\_droptarget == “/box”) {  
\_root.box.gotoAndStop(5);  
}  
}

what i want is instead of it going and stopping on frame 5 of the movie clip i want it to goto and stop on frame 5 of the actual movie, how do i do this,

Thanks,

Mike

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 4, 2003, 8:31pm UTC](https://forum.kirupa.com/t/drag-and-drop-targets/27614/2 "2003-08-04T20:31:45Z")

</div>

comon guys i need this help to finish my project

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 4, 2003, 10:14pm UTC](https://forum.kirupa.com/t/drag-and-drop-targets/27614/3 "2003-08-04T22:14:41Z")

</div>

If you mean what I think you mean, then you just need

\_root.gotoAndStop(5)

ie. get rid of the “box” bit so you send it to the main timeline. If you don’t mean that, then I dunno…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 4, 2003, 10:40pm UTC](https://forum.kirupa.com/t/drag-and-drop-targets/27614/4 "2003-08-04T22:40:28Z")

</div>

thanks dude it worked ! I thought it mite be somthing simple,

Mike
