Desperate to know

How can I move a point (or circle) slowly and the point let behind a line.When the point turn back the line will be erase.
Somebody can sugest me an Action Script code ???