hi
i’m kind of newbie in flash but from what i see in your code i can tell you this:
1st- i don’t see any reference to an array,that is to make an array in flash action script you have to follow this steps
-declare the array
myarray=new array(number of items) or array
("item1","item2","item3")
-then you assingn data to your array this way
myarray[1]=mydata; and so on the [1] is the position within the array where your data will be kept
-to get your data out from the array you do this
for example to assign a variable x the value of the 1st element in the array
x=myarray[1]