Im making a new game and its a lot more advanced than my last game so there are a few things im not shore of or cant get working.

A FPS monitor. On some games they have a little box with the FPS in it. How's this done.

Im looking for a shooring turorial that is based around
Math.cos(_rotation*Math.PI/180)
Math.sin(_rotation*Math.PI/180)
Know of any?

You can test what i have done here http://www.freewebs.com/aarons_web/test1.swf
PS: This is only my second game.