Pendulum effect with actionscript help!

I’m fooling around with elasticity and trying to figure out how that can relate to creating a pendulum effect (basically a ball on a string that can be dragged back and forth and dropped.

I’ve attached my .fla if anyone can show me how this is re-upload my file so I can learn this that would be great.

Thanks!