DeleteModul class

**************************************************************************
Joachim Schnier (Flashscript.biz)
class DeleteModul (Event pattern)
*****************************************************************************/
package 
{
	import fl.controls.Button;
	import flash.events.MouseEvent;
	public class DeleteModul extends AbstractClass
	{
		private var deleteBut:Button;
		public function DeleteModul ():void
		{
			deleteBut = new Button();
			deleteBut.label = "DELETE";
			addChild(deleteBut);
			deleteBut.addEventListener(MouseEvent.CLICK, deleteHandler);
		}
		private function deleteHandler (event:MouseEvent):void
		{
			counter--;
			Message = (String(counter));
		}
	}
}