package 
{
	import flash.display.*;
	public class Utils
	{
		public static function RecursivelyStop(clip)
		{
			if (clip is MovieClip)
			{
				clip.stop();
			}
			if (clip is DisplayObjectContainer)
			{
				for (var i = 0; i < clip.numChildren; i++)
				{				
					RecursivelyStop(clip.getChildAt(i));
				}
			}
		}
	}
}