How do I make _MCs flee from my cursor?

I know how to make Objects follow my cursor, thanks to these awesome tutorials… But what if I want to make a whole cluster of little movie clips in a swarm that run away from my mouse cursor:h: when it gets near? Does anyone know how to do that?