A "escaping" mc

i can’t believe i did this 2 month ago and now i forgot how to do it (well maybe because i haven’t touched flash for a month…)

Anyways what i want to do is like this… u have a mc and when the mouse “almost” touches it, the mc “escapes” a few px…

Thanks ahead, Alex.