We want enemies coming from the right edge of the screen to the left. The player is supposed to shoot them, and when that happens both the bullet and the enemy should disappear. We know how to make the enemies appear and travel from one side og the screen to the other, but our main problem is that we don't know how to make both the bullet and the enemy disappear without getting flooded with errors (like "the supplied DisplayObject must be a child of the caller"). Also, this function should be in the enemy class.
Any help is greatly appreciated
Oh, and we're pretty new to AS3 and programming in general, so please explain carefully.
