function foo():void { trace("foo"); } function callFoo(fooCallback:Function):void { fooCallback(); } callFoo(foo); // foo