Can flash make objects move away from the mouse

Is there any code available that would make object move away from the mouse instead of with (or trailing) the mouse. I’m sorry… I’m new to flash but practicing very hard. Any help would be appreciated.