Detecting a Movieclip's Rotation

Hi I haven’t been here for a while but recently started trying to make a new game which requires to find out how much a player rotated and then display what they did in a text box. An example would be if the player rotated forward all the way around the textbox would say “Front Flip”. I have been reading about trigonometry and such in flash, but still don’t know how to code this. The best example of a game that does this is Extreme Heli Boarding where if you do a trick it says how many degrees you rotated. Thanks for the help.