onMotionFinished and function calls

Hi there.

Can I make function calls from within the onMotionFinished scope? See example belowe. Also tried by using the Delegate class…

var a_handler:Object = new Tween(params);
a_handler.onMotionFinished = function(){
test();
}

var test:Function = function():Void {
trace(“hello”);
}