[help] Game + left/right mouse movement

Hi. I’m busy creating a game and Im stuck on this one part.

I basically need to have the ‘character’ move with the mouse.
The movement must be like Hasee Bounce
http://www.neopets.com/games/play.phtml?game_id=368

I have my character and when I click the mouse he falls down off a building, but I need him to move left and right with the mouse as you move the mouse. The movement is exactly like hasee bounce.

How do I go about doing this? My game is almost finished, its just this bit of code that has puzzled me. (I’m using Flash 8)

I would really appreciate any help or guidance, as I’m very desperate :frowning: