# Need Help With Array Problem

**URL:** https://forum.kirupa.com/t/need-help-with-array-problem/257770
**Category:** flash
**Created:** [April 16, 2008, 10:10pm UTC](https://forum.kirupa.com/t/need-help-with-array-problem/257770 "2008-04-16T22:10:21Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![SilverChariot](https://avatars.discourse-cdn.com/v4/letter/s/b5a626/32.png) [@SilverChariot](https://forum.kirupa.com/u/SilverChariot)
#### Post date: [April 16, 2008, 10:10pm UTC](https://forum.kirupa.com/t/need-help-with-array-problem/257770/1 "2008-04-16T22:10:21Z")

</div>

Hi Guys,

I am having some problem with my arrays, still pretty new at this.  
Probably made some serious mistake somewhere, i cant seem to make the  
arrays work when the clip is nested within another movieclip

here’s the summarized problem

```auto

//these are names of the movieclips nested inside another movieclip
var nArray:Array = new Array(n0, n1, n2);
for (var i = 0; i < nArray.length; i++) {
    // this works but when i delete the nArray everything fails can someone explain why ?
	nholder = nest["n"+i];
	nholder._alpha = 30;
    // this doesnt work at all .... if so whats the right method going about doing this ?
	nholder.nArray*._alpha = 30;

}

```

hope someone can help me out or tell me where i can read up about this …

Thanks
