Button.onRollOver = function (argument)

hello,

is there a way to pass an argument to a function that’s being assigned to a button event.

i have a function


function scroll(direction,speed)
{
//
}

thumb.scrollUPslow.onRollOver = scroll(1,1);

that doesn’t work. is there a way around this problem?

thank you