Path problem?

hi all, new here and have a quick question–sorry about the pseudo code

i want to draw a line between the x,y axis of two seperate movie clips–something like

moveTo(movieClip1._x, movieClip1._y)

lineTo(movieClip2._x, movieClip2._y)

i am using this code in movieClip1

the line starts at the first movieclip as intended–but, I can’t seem to get the line to connect to the second movie clips x,y…almost positive its a path issue, but I am a beginer so you never know!

thanks for the help