old_x=x_mc._x;
old_y=x_mc._y;
x_mc.onPress=function(){
startDrag(this);
}
x_mc.onRelease=function(){
stopDrag();
if(eval(x_mc._droptarget)==_root.a_mc){
x_mc._visible=0;
_root.answer="right";
}else if(eval(x_mc._droptarget)==_root.b_mc){
x_mc._x=old_x;
x_mc._y=old_y;
_root.answer="error";
}
}
copy to first frame.