Move movement + movie quality

Hey I was wondering if anyone had any ideas on how to solve this problem:

I need to have the quality of my swf determined by whether or not the user is moving the mouse. I have a free form navigation, and when i have scrolling going on i want the huge movieclip(image_mc) to have a LOW quality, and then when the mouse isn’t moving (the movieclip isn’t either) i need a HIGH quality. here is what i have so far…

//--------------------------
//Idle Detection
//--------------------------
checkX = function (dx, oldVal, newVal) {
if (oldVal<newVal) {
image_mc._quality = “LOW”;
} else if (oldVal>newVal) {
image_mc._quality = “LOW”;
}
return newVal;
};
checkY = function (dy, oldVal, newVal) {
if (oldVal<newVal) {
image_mc._quality = “LOW”;
} else if (oldVal>newVal) {
image_mc._quality = “LOW”;
}
return newVal;
};
this.watch(“xdir”, checkX);
this.watch(“ydir”, checkY);
this.onMouseMove = function() {
xdir = _xmouse;
ydir = _ymouse;
};

I got this online somewhere and updated for what I need but I can’t get it to change back to HIGH no matter what code I try.
If anyone could help that would be awesome.

Thanks,

jtack526