import mx.controls.Alert;
private function handleMouseDown(event:MouseEvent):void {
var pt:Point = new Point(event.localX, event.localY);
pt = event.target.localToGlobal(pt);
pt = c1.globalToContent(pt);
var whichColor:String = "aaa";
if (pt.x < 150) {
if (pt.y < 150)
whichColor = "red";
else
whichColor = "blue";
}
Alert.show("You clicked on the " + whichColor);
}