If/else arguement not working

The if bit works, but the else doesn’t. I’m guessing it’s something to do with the hitTest code. I’m just trying to script a simple button. Can anyone help a rusty AS’er? :-/


button_mc.onRollOver = function() {
    if (this.hitTest(_root._xmouse, _root._ymouse) == true) {
        this.gotoAndStop(2);
        trace("on");
    } else {
        this.gotoAndStop(1);
        trace("off");
    }
};