# Movie Clip Objects stored in an Array: would this work?

**URL:** https://forum.kirupa.com/t/movie-clip-objects-stored-in-an-array-would-this-work/210715
**Category:** flash
**Created:** [December 21, 2006, 9:47am UTC](https://forum.kirupa.com/t/movie-clip-objects-stored-in-an-array-would-this-work/210715 "2006-12-21T09:47:55Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jc\_401](https://avatars.discourse-cdn.com/v4/letter/j/47e85d/32.png) [@jc\_401](https://forum.kirupa.com/u/jc_401)
#### Post date: [December 21, 2006, 9:47am UTC](https://forum.kirupa.com/t/movie-clip-objects-stored-in-an-array-would-this-work/210715/1 "2006-12-21T09:47:55Z")

</div>

Hi guys!

I just started using ActionScript few weeks ago, so I’m not really that familiar with some things yet.

Anyway, I am having problems with storing movie clip objects in an array because when I try to access them, it kinda loses its properties as a movie clip. Say, i have mc\_1 stored in the array,and in the course of the flash movie, a button is triggered to change its visibility to “false”… what i do is, arr[0].\_visibility = false. :hugegrin: hehehe, yeah i know, this won’t work. do you have any suggestions? Please… I really need it semi-urgently.

So here’s what I’m really trying to do with my school project: I have 24 movieclips, i named them field1, field2, …, field24. I stored them in an array. Initially, they’re invisible. Then, a button is clicked to show one field. If the button is clicked again, the second field is displayed, and so on.

I really hope you could help me in this. Thanks a lot!

Joey
