Simple question: Function will not stop?

This is a problem i always run into when doing actionscript… i am not so skilled, so this might be because i write my code in a stupid way. please teach me!

I am doing an image slideshow, and this prototype function is fading the image out, and calling a function to load the next. But it kinda “stays” in the else if section. And traces “Else if” a million times. What is wrong? I made the else if(fade) thing to prevent that!


MovieClip.prototype.fadeMe2 = function() {
	fade = true;
	this.onEnterFrame = function() {
		if (fade && this._alpha>1) {
			this._alpha -= 2;
		} else if(fade) {
			trace("else if");
			this._alpha = 0;
			shuffleIt();
			fade = false;
		} else {
			//
		};
	};
};