Drag / mask issue

not too sure why this isn’t working. maybe it’s a simple layers problem?

the code for the mask button (instance name “hole”) works fine on it’s own without the mask. once i make a mask out of it and the background image the code no longer works. the code i have for it is:


on (press) {
 startDrag ("hole", true);
}
on (release) {
	stopDrag ();
}

any help would be appreciated! =)