Movement on path with actionscript

this question is related to this post:
http://www.kirupaforum.com/forums/showthread.php?s=&threadid=48122

as I wrote there, I’m thinking of haveing the dots move on a path (the line) clockwise.
now I wonder: is it do-able in actionscript?
I mean, can I set the line to be a path for the dots in actionscript? I’m thinking of something similar to the setMask() function…

Thanks in advance
Kalliban