Chase object around stage

Hey guys,

I’m just learning Flash and AS3 so apologies if this is a really basic question. I’m trying to get the mouse to ‘chase’ (repel) an object (in this case a movie clip) around the stage without the object being able to leave the stage. At some point I would like to have a number of movie clips on the stage but for now one will do!

Anyone got any ideas on how to do this?

Thanks in advance.