# 3 dimension array

**URL:** <https://forum.kirupa.com/t/3-dimension-array/199568>\
**Category:** flash\
**Created:** [September 4, 2006, 4:57am UTC](https://forum.kirupa.com/t/3-dimension-array/199568 "2006-09-04T04:57:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![daytonatkf](https://avatars.discourse-cdn.com/v4/letter/d/9fc29f/32.png) [@daytonatkf](https://forum.kirupa.com/u/daytonatkf)\
**Post date:** [September 4, 2006, 4:57am UTC](https://forum.kirupa.com/t/3-dimension-array/199568/1 "2006-09-04T04:57:07Z")

</div>

how do i create a 3 dimension array using a looping? e.g [[[1, 2], [3, 7] ], [[9, 7], [7, 5] ] ]

here is the code i’m using, but it doesn’t work

\_global.QU4 = new Array();  
for (i=0; i\<40; i++) {  
for (b=0; b\<40; b++) {  
QU4\*\*\* = [i,i];  
}  
}

thanks
