A more efficient function for fading movie clips

Hi everyone…

So, i am using this generic type of function all over a website im building to fade in and out movie clips…

function fadeIn(target) {
	target._alpha = 0;
	onEnterFrame = function () {
		target._alpha += 10;
		if (target._alpha>=100) {
			target._alpha = 100;
			delete onEnterFrame;
		}
	};
}

im finding it to be really really buggy. It seems to only partially complete its course once every 20-30 clicks… in other words, more than often enough to notice. Does anyone why i might be having so many problems with it? Can anyone suggest a more efficient code which does the same thing?

Thanks for any help…