How is this cursor made?

I like how the ball stretches more the faster you move your cursor.
How is that done?
http://games.armorgames.com/games0015/orange.swf
Thanks!