Interface character

I’ve created a flash interface character that follows your mouse with a slight delay. Inside this movieclip-character are 8 frames, each of which contain a walk cycle from a different angle. What I’m trying to do is make these different frames inside the movieclip play according to where the character is from the mouse, so the character faces the direction its walking.
Please throw out any ideas you may have on how to do this.