ok so I have a frame and all of the coding and stuff is from inside an mc. Ok so I have this button, that drags...it drags perfectly fine. But I can't get it to do something when I the x hits a certain point. Here is the code of the button, that drags. And here is the code on the frame, what I want it to do but can't get it to do.

Code:
on (press) {
	startDrag(drag,true,-55,99,51.5,99);
}
on (release) {
	stopDrag();
}
Code:
stop();
if (drag._x == 29.9) {
	this.gotoAndStop(33);
}