Hehe, you are asking the impossible. Is the computer smart enough to recognize the legs of your character should keep moving when you want the upper part of him to shoot? Of course not.
You will need to make another animation called 'move and shoot', or something.