Ok I have this code here and I want to be able to hit the zombie and have the GreenBlood stay and have another GreenBlood on the screen the same time as the last one insted of just adding it back to the stage with its position. How would I do this ? would I put it into an array?
var zombiespeed:Number = 2;
stage.addEventListener(Event.ENTER_FRAME,GetZombie3);
function GetZombie3(e:Event):void
{
for (var r:int = ZombieOnstage3.length-1; r > -1; r--)
{
var currentZombie3:MovieClip = ZombieOnstage3[r];
if (currentZombie3.hitTestObject(char2_mc))
{
ZombieKilled3++;
/*removeChild(currentZombie);*/
ZombieOnstage3.splice(r,1);
stage.removeEventListener(Event.ENTER_FRAME,GetZombie3);
textfield.text = score.toString();
score+=1;
currentZombie3.parent.removeChild(currentZombie3);
addChild(GreenBlood_mc);
GreenBlood_mc.x = currentZombie3.x;
GreenBlood_mc.y = currentZombie3.y;
GreenBlood_mc.gotoAndPlay(2);
stage.addEventListener(Event.ENTER_FRAME,GetZombie3);