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:
[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