イベントリスナーのターゲット変数参照名を取得する方法
var key1:BtnKey=new BtnKey;
var key2:BtnKey=new BtnKey;
key1.addEventListener(MouseEvent.CLICK,function(e:MouseEvent):void{
checkAnswer(e,qset)
});
key2.addEventListener(MouseEvent.CLICK,function(e:MouseEvent):void{
checkAnswer(e,qset)
});
function checkAnswer(e:MouseEvent,qset:Number):void{
//here I want the target variable reference ("key1" or "key2")
//e.target only gives the movieclip refernce like "[Object BtnKey]"
}
`