mouseDown and up problem

See the attached movie,

If I do the dragging with onclip event, even when I hold the mouse ouf of the button its dragging.
If I do it with function() or on(press) if just drags when I press the button but dont scale. Pls help