Hide movie clips

Is it possible to hide several movie clips at once by adding their instance names to an array, and then creating some kind of function? If it is, could anyone please give me an example of such a function?