# \[Flash8\]Assigning part of an array to another one

**URL:** <https://forum.kirupa.com/t/flash8-assigning-part-of-an-array-to-another-one/308983>\
**Category:** flash\
**Created:** [May 4, 2010, 4:32pm UTC](https://forum.kirupa.com/t/flash8-assigning-part-of-an-array-to-another-one/308983 "2010-05-04T16:32:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![christooj](https://avatars.discourse-cdn.com/v4/letter/c/e79b87/32.png) [@christooj](https://forum.kirupa.com/u/christooj)\
**Post date:** [May 4, 2010, 4:32pm UTC](https://forum.kirupa.com/t/flash8-assigning-part-of-an-array-to-another-one/308983/1 "2010-05-04T16:32:54Z")

</div>

Flash 8 - two array questions:

I want to create one array based on another, but only using part of the data. Here’s my first array:

```auto
[INDENT]var dropzoneArray = new Array();
dropzoneArray.push("disease0", "image0.jpg");
dropzoneArray.push("disease1", "image1.jpg");
dropzoneArray.push("disease2", "image2.jpg");
[/INDENT]

```

Q1:  
Should I intialize the dropzoneArray as each instance having two bits of info (this will always be required)

Q2  
I want my second array - draggersArray - just to use the “disease” bit of dropzoneArray. How do I do this?

Thanks in advance
