Added previously created Player.as code.