Trigonometric actionscript

Does anybody have ideas how to get started on stuff like the texteffect on this page: http://ge.ecomagination.com

I’m after something like “trigonometric actionscript”?

Example: How could I make letters go circle around my mousepointer?