Getting the pan/tilt of mouse

Hi, I’m not very good with more advanced maths, so I have to ask this:

If I have a camera which gives out 360 degree pan (x) and tilt (y) values, and I want to get the pan and tilt values of where I have my cursor in the camera’s view, how would I convert that?

More info: It’s a Flash/AS3 project. The pan and tilt values are from the center of the camera view. Camera view size is 960x540.

Thanks for any input!