Anyone got some ideas why this splice is not working in this hitTest routine?
for(var b=0; b<blastArray.length;b++){
for(var s=0; s<boxArray.length;s++){
if(blastArray**.hitTestObject(boxArray[s])){
//trace('HIT!!!!');
score += 5;
value1 += 1;
trace(blastArray);
trace(boxArray);
boxArray[s].die();
blastArray**.hit();
if(boxArray[s].alpha <= .02){
boxArray[s].parent.removeChild(boxArray[s]);
boxArray.splice(s,1);
}
if(blastArray**.alpha <= .02){
blastArray.splice(b,1);
blastArray**.parent.removeChild(blastArray**);
trace('remove entry');
}
}
}