Passing Object to function

Hello,

I’m trying to make a function which changes the visibility (with object.visible(value)) of some variable object.

My problem is that I cant find the right “passing object” reference like here with “milliseconds:number”:
function millisecondsToSeconds(milliseconds:number) {}

Thanks in advance!

Bumb. Still need help