hi all hope every is in good health
my problem is I have 3 MC in an array which i want visible= false for 2 of them so i tried to splice one out of the array but could not this is the code
Code:
on (release) {
sums_array = new Array("0", "1", "2");
index = Math.round(Math.random()*sums_array.length);
sums_array.splice(index, 1);
trace(index);
//trace(sums_array);
for (i=0; i<sums_array.length; i++) {
_root["ball"+i]._visible = false;
}
}
hope i made myself clear
by the way i am not too good with array
thankssssssssssss for any help