从库里拖出来的,选中它给起个实例名字aa然后加侦听下面是例子import flash.events.MouseEvent;import flash.events.Event;aa.addEventListener(MouseEvent.CLICK,clickHandler);function clickHandler(event:Event):void{//写自己的代码 trace("vvvvvv");}