private function fun1(event:MouseEvent):void { } private function fun2(f:Function) { someobject.addEventListener(MouseEvent.CLICK, f); }