# Array

**URL:** <https://forum.kirupa.com/t/array/387>\
**Category:** flash\
**Created:** [July 16, 2002, 7:09am UTC](https://forum.kirupa.com/t/array/387 "2002-07-16T07:09:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZeroMX](https://avatars.discourse-cdn.com/v4/letter/z/e68b1a/32.png) [@ZeroMX](https://forum.kirupa.com/u/ZeroMX)\
**Post date:** [July 16, 2002, 7:09am UTC](https://forum.kirupa.com/t/array/387/1 "2002-07-16T07:09:16Z")

</div>

Can someone help me with array()?

this.pArray = [“zmx1.jpg”,“zmx2.jpg”,“zmx3.jpg”,“zmx4.jpg”,“zmx5.jpg”];

I have about 100+ images is there a way that it can increment the image and return each pArray separately (which is same as filling all the array out)?

ie.

this.pArray = [“zmx” + i + “.jpg”]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 16, 2002, 8:38am UTC](https://forum.kirupa.com/t/array/387/2 "2002-07-16T08:38:48Z")

</div>

You can try

```auto
for (i=0;i<100;i++) {
          this.pArray* = "zmx" + (i+1) + ".jpg" ;
}

```

pom :asian:
