Connecting MC:s

Hi all!

I’m making a mindmapping client in Flash but i got a problem. I have made Mc:s for typing in diffrent things in a text box and now i want to connect two or more mc:s graphically with a single line.

Lets say i got three mc:s on the stage and now i wan to connect them like this:

1----2
…/
…/
…3

I also got dragfunctionallity on the mc:s. How on earth can i connect the with lineTo() function?

I want the lines to be dynamically so if i move, lets say MC 3 from above, both lines should follow.

Any Ideas??