a little too vague. It should work perfectly. There isn't anything wrong with it. What part of it isn't working? I'm going to go out on a limb here and bet that that is exactly the code that you have on a layer and wonder why when you move the mouse there it doesn't play 2. You need an onEnterFrame for that.

PHP Code:
this.onEnterFrame = function(){
if (
_xmouse>600 && _xmouse<800 && _ymouse>20 && _ymouse<180) {
dial.gotoAndPlay(2);
} else {
dial.gotoAndPlay(12);
}