# Multidimensional array using data from database

**URL:** https://forum.kirupa.com/t/multidimensional-array-using-data-from-database/193891
**Category:** Uncategorized
**Created:** [July 19, 2006, 2:13am UTC](https://forum.kirupa.com/t/multidimensional-array-using-data-from-database/193891 "2006-07-19T02:13:27Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![santalea](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@santalea](https://forum.kirupa.com/u/santalea)
#### Post date: [July 19, 2006, 2:13am UTC](https://forum.kirupa.com/t/multidimensional-array-using-data-from-database/193891/1 "2006-07-19T02:13:27Z")

</div>

i need to create a 2D array for my actionscript. but instead of hardcoding the array, i needed to retrieve it from the database.  
the file movement.as is the actionscript file where i have to insert the 2D array. Mappie.as is a class that is called in movement.as.

mine.txt is actually the jsp file where i retrieve the values of the x & y coordinates from the database.

please be kind enough to help me. actually the 2D array is only to create the line and attaching the movieclip. but i also need the 3D array for the part where i need to call the angle to rotate the movieclip.
