Help with startDrag

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?

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]

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…