i have items drawn my stage dynamically and information regarding them in arrays.
when i remove an item from the display list:
a.target.graphics.clear();
i then use the ‘splice’ and index of method to locate chosen MC remove their values from specific array :
mcName.splice(mcName.indexOf(+mcRef.boxCount),1);
Now when i remove any item which isnt the lastitem of the array, then trace all the data of the array using a loop the values appear to have corrupt? like they have lost the order in the array since one was removed?
also if i trace mcName[0]; it appears to still have data even though i have spliced it?
any help much appreciated