# Help with startDrag

**URL:** <https://forum.kirupa.com/t/help-with-startdrag/27459>\
**Category:** Uncategorized\
**Created:** [August 2, 2003, 5:11pm UTC](https://forum.kirupa.com/t/help-with-startdrag/27459 "2003-08-02T17:11:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Danii](https://avatars.discourse-cdn.com/v4/letter/d/c67d28/32.png) [@Danii](https://forum.kirupa.com/u/Danii)\
**Post date:** [August 2, 2003, 5:11pm UTC](https://forum.kirupa.com/t/help-with-startdrag/27459/1 "2003-08-02T17:11:52Z")

</div>

Okey so I click on my little button in my movie and write in the following code

[AS]on(press) {  
this.startDrag(false);  
}  
on(release) {  
stopDrag();  
}[/AS]

It looks ok to me, but when i preview it, instead of draggin’ the button it drags the whole movie??? =S

anyone know wht the prob is?

---

<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 2, 2003, 5:17pm UTC](https://forum.kirupa.com/t/help-with-startdrag/27459/2 "2003-08-02T17:17:57Z")

</div>

Because you cannot drag a button, only movie clips.  
To solve that, create a button inside a movie clip and paste the actions on the button:[AS]on(press) {  
startDrag(this,false);  
}  
on(release) {  
stopDrag();  
}[/AS]

---

<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 2, 2003, 5:39pm UTC](https://forum.kirupa.com/t/help-with-startdrag/27459/3 "2003-08-02T17:39:52Z")

</div>

Okey, but u know how I do to make a button inside this movie tht will set the alpha of the movie to 0.  
I tried to make a button inside the movie, but i cant press it once previewing…

Im trying to make a window tht i can shut down…
