Class Inheritance

package  
{
	import fl.motion.Color;
	import flash.display.MovieClip;
	import flash.display.Sprite;
	import flash.geom.ColorTransform;
	import flash.events.MouseEvent;




	public class CustomBuildings extends Sprite
	{


		public function CustomBuildings() 
		{
			this.mouseChildren = false;
			this.buttonMode = true;
			this.addEventListener (MouseEvent.MOUSE_OVER , onOver);
			this.addEventListener (MouseEvent.MOUSE_OUT, onOut);
                        this.addEventListener (MouseEvent.CLICK, onClick);
		}
	
		private function onOver(e:MouseEvent)
		{
			var ct:ColorTransform = this.transform.colorTransform;
			ct.color = 0xF89807;
			transform.colorTransform = ct;
		}
		
		private function  onOut(e:MouseEvent):void 
		{
			var ct:ColorTransform= this.transform.colorTransform 
			ct.color = 0x9F9F9F;
			transform.colorTransform = ct;
		}

                private function onClick(e:MouseEvent):void
                {
                    //NEED HELP HERE!!!
                }


	}

}

package 
{



	public class GuardHouse extends CustomBuildings
	{
		
		public function GuardHouse() 
		{
			
		}
		
	}


}

package 
{
	
	public class Gym extends CustomBuildings
	{
		
		public function Gym() 
		{
			
		}
		
	}


}

I want to determine that everytime I click the GuardHouse it will trace its a GuardHouse, and when I click the Gym it will trace its a Gym. And the code must be in the CustomBuilding Class, in the event CLICK…

Anybody could tell me the solution?? THank you so much in advance…