# Two Objects conected by a dinamic line + physics of the line

**URL:** <https://forum.kirupa.com/t/two-objects-conected-by-a-dinamic-line-physics-of-the-line/271762>\
**Category:** flash\
**Created:** [September 28, 2008, 1:12am UTC](https://forum.kirupa.com/t/two-objects-conected-by-a-dinamic-line-physics-of-the-line/271762 "2008-09-28T01:12:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![felipegm](https://avatars.discourse-cdn.com/v4/letter/f/e9bcb4/32.png) [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Post date:** [September 28, 2008, 1:12am UTC](https://forum.kirupa.com/t/two-objects-conected-by-a-dinamic-line-physics-of-the-line/271762/1 "2008-09-28T01:12:37Z")

</div>

Hi

I have two Movie clips, and I have to conect them with a dinamic line, like a rope. The movie clip A will be interactive with the mouse, changing X and Y positions, so the line should act like a rope.

Does anybody knows some code to do that or have a example?
