Game Actionscript

ok i want to make one of those games with stickmen walking around. I made a movie clip with a stickmen that looks like hes walking and he need to know if there is a big actionscriopt code that will make my guy walk on the ground randomly and when you clck him he falls on the ground and bleeds.

any help i will much aprecciate

http://media.putfile.com/walking78