Animating Dashed Lines

Hello all,

here’s a simple question. Is there an easy way to animate a dashed stroke?
I’ve included an example below. The illustrations are from Freehand. Making amovie clip etc is all clear. With a straight line I could just mask off parts and animated a moving line, but with the curves I want that crawling ants effect. Anyone?

Thanks!

-Patrick