# lineTo short question

**URL:** <https://forum.kirupa.com/t/lineto-short-question/228937>\
**Category:** flash\
**Created:** [June 12, 2007, 7:34pm UTC](https://forum.kirupa.com/t/lineto-short-question/228937 "2007-06-12T19:34:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Exodar](https://avatars.discourse-cdn.com/v4/letter/e/e79b87/32.png) [@Exodar](https://forum.kirupa.com/u/Exodar)\
**Post date:** [June 12, 2007, 7:34pm UTC](https://forum.kirupa.com/t/lineto-short-question/228937/1 "2007-06-12T19:34:53Z")

</div>

i have a question:

If you have a black dot movieclip in the center of the stage and you use attach movie to make other movieclips on the stage, how would you get the black dot to make a line connecting to all the attached movieclips? what i’ve tried to do is make a variable for all the attached movieclips and basically tried to make the ball line to that variable using lineTo. This makes a single line connecting to only one of the movieclips. How would you fix this? or is there another way to do this?

thanks
