Need help With platform game

hi, im working on a shooting game in flash 8, and i am having some troubles. I want to make it so when the mouse is one side of the screen “player” flips and looks at it, and when its on the other, it flips and looks at it.
It is what the player does in this game: http://www.crazymonkeygames.com/Thing-Thing-3.html

I want to get the player to act like that when the mouse is on one side.

Picture of what i want just in case i didn’t explain it right.

I am sorry for the horrible art skills i have in paint :D, but basically it is saying:

“when mouse is left of player, player is facing left when mouse is right of player, player face right”

Thanks.
any questions, just ask.