This example uses Graphics.setStrokeDash() and Graphics.command to create a marching ants effect.
Graphics.setStrokeDash()
Graphics.command