Correct code would be getChildByName("bullet" + n))...

But - using string lookups is really really slow for the processor...you'd be much better off putting the bullets into an array instead of using .name. And if you use array.push(new Bullet()) your bulletcount should stay synched with the array index...eg. bulletArray[10] = bullet10;