I have this function, which works fine:
Code:
function hideMenu() {
  editCity.menuMD._visible = false;
}
setInterval(hideMenu, 3000);
Now, I want to pass the movie clip's name to it as a parameter. I have now:
Code:
menu="editCity.menuMD";
function hideMenu(menu) {
  menu._visible = false;
}
setInterval(hideMenu(men), 3000);
But it doesn't work.
What am I doing wrong?
tnxinadvance