setInterval/clearInterval ID issue

Hey,
I’m having an issue with setInterval/clearInterval when it comes to dealing with objects. Take this example:

[AS]
MovieClip.prototype.setCount = function(numToCount){
this.interval = new Object();
this.interval.count = 0;
this.interval.countUp = function(numToCount) {
this.count++;
trace(this.count);
if(this.interval.count == numToCount){
clearInterval(this.countUp);
}
};
setInterval(this.interval, “countUp”, 100, numToCount);
};

myMc.setCount(3);
[/AS]

Why does clearInterval not stop the interval? Does clearInterval not work when called inside a setInterval? Am I doing something wrong? How do I get it to delete the interval when it reaches a certain count?

Thanks again!