Draggable windows

hey folks what am i doing wrong?

I have a gif as my primary scene - I am simply trying to make a button w/ graphics in it and the following AS attached to the button:

on (press) {
startDrag ("");

on (release) {
stopDrag ();

but when i test it instead of the object dragging the object works like a handle and drags my gif around the screen instead of just the button…

Why is this???