# Using An Array to manage Movi clips

**URL:** <https://forum.kirupa.com/t/using-an-array-to-manage-movi-clips/306484>\
**Category:** flash\
**Created:** [March 16, 2010, 2:39pm UTC](https://forum.kirupa.com/t/using-an-array-to-manage-movi-clips/306484 "2010-03-16T14:39:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![freefallingup](https://avatars.discourse-cdn.com/v4/letter/f/3d9bf3/32.png) [@freefallingup](https://forum.kirupa.com/u/freefallingup)\
**Post date:** [March 16, 2010, 2:39pm UTC](https://forum.kirupa.com/t/using-an-array-to-manage-movi-clips/306484/1 "2010-03-16T14:39:04Z")

</div>

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:

```auto

_root.allCoffees.visible=false;

```

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

```auto

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.
