Okay, for some reason, this is returning 1 and only 1:
for each(var i in bManager.bulletVector){
trace(i.currentFrame);
}
if (i.parent != null && i.currentFrame > 1) {
trace("TRACED"); //Never executes
i.parent.removeChild(i);
bManager.bulletVector.splice(bManager.bulletVector.indexOf(i), 1);
}
The instances play normally, but for some reason, Flash thinks that they’re still on frame 1. I might’ve forgotten something, but I’m really stuck. All help is appreciated.
Closing question, yada yada yada. Also, using
currentFrameis a bad idea.