# Setting up an array function

**URL:** https://forum.kirupa.com/t/setting-up-an-array-function/182448
**Category:** Uncategorized
**Created:** [March 18, 2006, 9:57am UTC](https://forum.kirupa.com/t/setting-up-an-array-function/182448 "2006-03-18T09:57:20Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![brndn](https://avatars.discourse-cdn.com/v4/letter/b/dec6dc/32.png) [@brndn](https://forum.kirupa.com/u/brndn)
#### Post date: [March 18, 2006, 9:57am UTC](https://forum.kirupa.com/t/setting-up-an-array-function/182448/1 "2006-03-18T09:57:20Z")

</div>

Hi all what I am wanting to or so my research tells me is create a range of buttons that load from a database. ranging from one to 100.

displaying 10 at a time

these buttons would be swf files each contain a global viarable that would effect a series of other buttons on the first stage.

I am thinking of setting up an array but really dont know where to start.

maybe start with this  
this.pArray = [“001.swf”, “002.swf”, “003.swf”, “andsoon”];

any advise is good advice.  
cheers
