Fighting game

could anyone give me a step tp step tutorial for creating a game with stick figures? something like this:

it has 2 stick figures. you can move them with the arrow keys e.g
down would make him crouch, up would make a jump, left would make him move left and right would make him move right.
then when you press say… “x” on the keyboard he would kick. and if you press “z” he would punch.

im ok with the animations and everything i just need help with the layout and actionscript.

any ideas anyone?