Fading Sound Help

I’ve been running through the Kenny Bellew tutes dealing with fading sound, but I can’t get to work with my movie. Defining the sound and setting the volume works, but the fading function does not. The sound is defined in the root timeline and I set the fade function inside a movieclip. The fading function is in the very last frame of the movie to play. Here’s my AS:

Setting sound object:

comets = new Sound();
comets.attachSound("comets_on_fire.mp3");
cometsVolume = 70;
comets.setVolume(cometsVolume);

Fade function (Kenny Bellew):

stop();
this.onEnterFrame = function() {
	if (fadeOut01 == 1) {
		_root.comets.setVolume(cometsVolume);
		cometsVolume = cometsVolume-5;
		if (cometsVolume<5) {
			_root.comets.stop("comets_on_fire.mp3");
			fadeOut01 = 0;
		}
	}
};

As always, any help is much appreciated.

Thanks-