Using Flash's lineTo() method, you can easily make a connection between several points or several points spread around several objects. Some tricky problems arise when you want to maintain a connected line between moving objects.
For an example of what you will create towards the end of this tutorial, in the following animation, drag the circles around and you will see a connected line moving accordingly: