Increase the frame rate for a MC

Is it possible to increase the frame rate for a MC?

I want to create a looping movie clip that slows down and speeds up the closer too or further away my cursor gets to it.

Does anyone have any suggestions about how i might go about coding this?