按钮名为btn,添加侦听点击事件btn.addEventListener(MouseEvent.CLICK,btnClick);function btnClick(evt:MouseEvent):void{trace("Click" evt.currentTarget);}