Pendulum rotation.. help!

Hey there,

What i’m trying to do takes a little explaining, so I attached the .SWF file to help. I made the .SWF file using frames, not actionscript.

Here’s the deal:

[LIST=1]
[]I’m trying to create a draggable box.
[
]When you drag this box, its rotation changes as if to simulate resistance.
[]The faster you drag it, the more its rotation changes.
[
]Finally, when you stop dragging it, then it tapers off with a “pendulum effect”.
[/LIST]

Does anyone know what I’m talking about? Better yet, does anyone know how to do this?

Thanks in advance :2c:
Matt