Penguin batting game

I need to make a game like the popular penguin batting game at
I’ve seen lots of bits of actionscript about gravity and physics, but I’m having difficulty putting it together, as I am an actionscript novice.
I’d be ever so grateful for some simple and complete guidance as to how to create this effect.
Many thanks!