> hey ,
> I am having some trouble figuring out how to pass functions as
> parameters
Functions are variables like others :
function hello( func : String -> Void ) {
func("hello");
}
function print( s : String ) {
trace(s);
}
function test() {
hello(print);
}
Nicolas