MovieClip and lineStyles

Hi,

I am trying to create a small application where users drag a number of MCs around and where a line is drawn to each one when an MC is released. Now, I would like to change the look of the line so that it appears to be ‘dotted’, is this even possible?

This is my code so far:

ActionScript Code:
[FONT=Courier New][LEFT][COLOR=#000000]**function**[/COLOR] drawthem[COLOR=#000000]([/COLOR][COLOR=#000000])[/COLOR]

[COLOR=#000000]{[/COLOR]
[COLOR=#0000FF]for[/COLOR]COLOR=#000000[/COLOR]
[COLOR=#000000]{[/COLOR]
[COLOR=#0000FF]this[/COLOR].[COLOR=#0000FF]createEmptyMovieClip[/COLOR][COLOR=#000000]([/COLOR][COLOR=#FF0000]“canvas_mc”[/COLOR]+n, n+[COLOR=#000080]100[/COLOR][COLOR=#000000])[/COLOR];
[COLOR=#0000FF]_root[/COLOR][COLOR=#000000][[/COLOR][COLOR=#FF0000]“canvas_mc”[/COLOR]+n[COLOR=#000000]][/COLOR].[COLOR=#0000FF]lineStyle[/COLOR][COLOR=#000000]([/COLOR][COLOR=#000080]1[/COLOR], 0x000000, [COLOR=#000080]100[/COLOR][COLOR=#000000])[/COLOR];
[COLOR=#0000FF]_root[/COLOR][COLOR=#000000][[/COLOR][COLOR=#FF0000]“canvas_mc”[/COLOR]+n[COLOR=#000000]][/COLOR].[COLOR=#0000FF]moveTo[/COLOR][COLOR=#000000]([/COLOR]xlocs[COLOR=#000000][[/COLOR]n[COLOR=#000000]][/COLOR][COLOR=#000000][[/COLOR][COLOR=#000080]0[/COLOR][COLOR=#000000]][/COLOR]-[COLOR=#000080]100[/COLOR], xlocs[COLOR=#000000][[/COLOR]n[COLOR=#000000]][/COLOR][COLOR=#000000][[/COLOR][COLOR=#000080]1[/COLOR][COLOR=#000000]][/COLOR][COLOR=#000000])[/COLOR];
[COLOR=#0000FF]_root[/COLOR][COLOR=#000000][[/COLOR][COLOR=#FF0000]“canvas_mc”[/COLOR]+n[COLOR=#000000]][/COLOR].[COLOR=#0000FF]lineTo[/COLOR][COLOR=#000000]([/COLOR]xlocs[COLOR=#000000][[/COLOR]n+[COLOR=#000080]1[/COLOR][COLOR=#000000]][/COLOR][COLOR=#000000][[/COLOR][COLOR=#000080]0[/COLOR][COLOR=#000000]][/COLOR]-[COLOR=#000080]100[/COLOR], xlocs[COLOR=#000000][[/COLOR]n+[COLOR=#000080]1[/COLOR][COLOR=#000000]][/COLOR][COLOR=#000000][[/COLOR][COLOR=#000080]1[/COLOR][COLOR=#000000]][/COLOR][COLOR=#000000])[/COLOR];

[COLOR=#0000FF]if[/COLOR][COLOR=#000000]([/COLOR]xlocs[COLOR=#000000][[/COLOR]n+[COLOR=#000080]1[/COLOR][COLOR=#000000]][/COLOR][COLOR=#000000][[/COLOR][COLOR=#000080]0[/COLOR][COLOR=#000000]][/COLOR] != [COLOR=#000080]999[/COLOR][COLOR=#000000])[/COLOR][COLOR=#000000]{[/COLOR][COLOR=#0000FF]_root[/COLOR][COLOR=#000000][[/COLOR][COLOR=#FF0000]"canvas_mc"[/COLOR]+n[COLOR=#000000]][/COLOR].[COLOR=#0000FF]curveTo[/COLOR][COLOR=#000000]([/COLOR][COLOR=#000000]([/COLOR]xlocs[COLOR=#000000][[/COLOR]n+[COLOR=#000080]1[/COLOR][COLOR=#000000]][/COLOR][COLOR=#000000][[/COLOR][COLOR=#000080]0[/COLOR][COLOR=#000000]][/COLOR]-[COLOR=#000080]100[/COLOR][COLOR=#000000])[/COLOR]-[COLOR=#000000]([/COLOR]bounce*thetoggle[COLOR=#000000])[/COLOR], [COLOR=#000000]([/COLOR]xlocs[COLOR=#000000][[/COLOR]n+[COLOR=#000080]1[/COLOR][COLOR=#000000]][/COLOR][COLOR=#000000][[/COLOR][COLOR=#000080]1[/COLOR][COLOR=#000000]][/COLOR][COLOR=#000000])[/COLOR]-[COLOR=#000000]([/COLOR]bounce*thetoggle[COLOR=#000000])[/COLOR],xlocs[COLOR=#000000][[/COLOR]n+[COLOR=#000080]1[/COLOR][COLOR=#000000]][/COLOR][COLOR=#000000][[/COLOR][COLOR=#000080]0[/COLOR][COLOR=#000000]][/COLOR]-[COLOR=#000080]100[/COLOR], xlocs[COLOR=#000000][[/COLOR]n+[COLOR=#000080]1[/COLOR][COLOR=#000000]][/COLOR][COLOR=#000000][[/COLOR][COLOR=#000080]1[/COLOR][COLOR=#000000]][/COLOR][COLOR=#000000])[/COLOR];[COLOR=#000000]}[/COLOR]
[COLOR=#000000]}[/COLOR]

circle1.[COLOR=#0000FF]_x[/COLOR] - circle1.[COLOR=#000080]stringVib[/COLOR], circle1.[COLOR=#0000FF]_y[/COLOR] - circle1.[COLOR=#000080]stringVib[/COLOR], circle1.[COLOR=#0000FF]_x[/COLOR], circle1.[COLOR=#0000FF]_y[/COLOR]

[COLOR=#000000]}[/COLOR]
[/LEFT]
[/FONT]

Y