Using An Array to manage Movi clips

I have an array of movie clips, and I want to be able to control their visibility(make them invisible to start). The array is called allCoffees, I tried:


_root.allCoffees.visible=false;

That did not work, so I tried looping through the array to do it:


for (i=0; i<allCoffees.length-1; i++){
_root.allCoffees*.visible=false;
}

That didn’t work either. Not sure if I am going about this correctly… Flash isn’t throwing me an error message. Any suggestions would be much appreciated.