stopDrag and Interval clashes

I’ve got a bit of an odd problem combining a drag with an interval. the first time the bar is clicked the drag works fine, however the second time an interval that moves the bar ‘automaticaly’ seems to over ride it. i’ve tried clearing the interval but for some reason it doesn’t seem to have an effect.

Heres the code:


var posInt:Number = setInterval(Position, 10);
function Position() {
 var s = home.sound_mc.sound_obj;
 var gL = s.getBytesLoaded();
 var gT = s.getBytesTotal();
 buffer._xscale = (gL/gT)*100;
 posSlider._x = ((s.position/s.duration)*100)*2.2+43;
 home.PlayList.gbl.text = s.position+" "+s.duration;
}
posSlider.onPress = function() {
 clearInterval(posInt);
 clearInterval(posInt);
 this.startDrag(true, posGroove._x+15, posGroove._y, posGroove._x+235, posGroove._y);
};
posSlider.onRelease = function() {
 posSlider.stopDrag();
 var posInt = setInterval(Position, 10);
};
posSlider.onReleaseOutside = function() {
 posSlider.stopDrag();
 var posInt = setInterval(Position, 10);
};


if anyone has any ideas i’d be very greatful
ads