package Game{
	import flash.display.*;
	import flash.events.*;
	
	public class PacMan_DeathAnim extends MovieClip{
		
		function onEnterFrame(e:Event):void{
			if(currentFrameLabel == 'DeathFinished'){
				stop();
			}
		}
		
		public function PacMan_DeathAnim(){
			addEventListener(Event.ENTER_FRAME, onEnterFrame);
		}
	}
}