# Create arrays from array!

**URL:** https://forum.kirupa.com/t/create-arrays-from-array/196466
**Category:** flash
**Created:** [August 8, 2006, 5:27pm UTC](https://forum.kirupa.com/t/create-arrays-from-array/196466 "2006-08-08T17:27:41Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Zaid\_W1red](https://avatars.discourse-cdn.com/v4/letter/z/cab0a1/32.png) [@Zaid\_W1red](https://forum.kirupa.com/u/Zaid_W1red)
#### Post date: [August 8, 2006, 5:27pm UTC](https://forum.kirupa.com/t/create-arrays-from-array/196466/1 "2006-08-08T17:27:41Z")

</div>

Hey guys,  
tryign to use something liek this:

```auto

var section:Array = new Array();
section = ["a","b","c"];
for(item in section){
    _root[item]= new Array{}
    
    }

```

to create array objects from each item in the ‘section’ array, basiically giving me

a= new Array;  
b= new Array  
c = new Array

What am i doing wrong here?!
