# Draggable Object Attached to Elastic like Hose... Help!

**URL:** <https://forum.kirupa.com/t/draggable-object-attached-to-elastic-like-hose-help/263090>\
**Category:** flash\
**Created:** [June 12, 2008, 2:37pm UTC](https://forum.kirupa.com/t/draggable-object-attached-to-elastic-like-hose-help/263090 "2008-06-12T14:37:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![eekie](https://avatars.discourse-cdn.com/v4/letter/e/c68b51/32.png) [@eekie](https://forum.kirupa.com/u/eekie)\
**Post date:** [June 12, 2008, 2:37pm UTC](https://forum.kirupa.com/t/draggable-object-attached-to-elastic-like-hose-help/263090/1 "2008-06-12T14:37:45Z")

</div>

Hi,

This is my first post, I am trying to play with draw nodes and draw api actionscript. What I am trying to make is a gas pump in flash where the user can drag the nozzle off the pump with an elastic like hose attached to it.

I found this tutorial: [http://www.emanueleferonato.com/2007/07/07/creation-of-the-engine-behind-nodes-game-with-flash/](http://www.emanueleferonato.com/2007/07/07/creation-of-the-engine-behind-nodes-game-with-flash/) , which is exactly what I want except I want more of an elastic like feel to the hose… I also found this which has the elastic effect but it follows the mouse rather than drag and drop: [http://www.kirupa.com/forum/showthread.php?t=210193](http://www.kirupa.com/forum/showthread.php?t=210193)

Any help would be greatly appreciated 😃

PS: I would also like the nozzle to be limited!

---

<div class="post-metadata">

**Author:** ![eekie](https://avatars.discourse-cdn.com/v4/letter/e/c68b51/32.png) [@eekie](https://forum.kirupa.com/u/eekie)\
**Post date:** [June 12, 2008, 4:17pm UTC](https://forum.kirupa.com/t/draggable-object-attached-to-elastic-like-hose-help/263090/2 "2008-06-12T16:17:57Z")

</div>

I also found this tutorial: [http://www.tutorialized.com/view/tutorial/Creation-of-a-game-like-String-Avoider/28241](http://www.tutorialized.com/view/tutorial/Creation-of-a-game-like-String-Avoider/28241)

If I can figure out how to get the tail fixed at a certain x, y coordinate that would do the trick…
