# Bouncing Wire Code

**URL:** https://forum.kirupa.com/t/bouncing-wire-code/220462
**Category:** flash
**Created:** [March 26, 2007, 5:33pm UTC](https://forum.kirupa.com/t/bouncing-wire-code/220462 "2007-03-26T17:33:27Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Vexir](https://avatars.discourse-cdn.com/v4/letter/v/a183cd/32.png) [@Vexir](https://forum.kirupa.com/u/Vexir)
#### Post date: [March 26, 2007, 5:33pm UTC](https://forum.kirupa.com/t/bouncing-wire-code/220462/1 "2007-03-26T17:33:27Z")

</div>

Does anyone know where I can find code for an effect which creates a line between two points of some thickness and then has it bounce? As in, upon its creation it bounces a bit and then sags once it doesn’t move? I am not a great AS programmer myself so I don’t really know how to do this.

Any help would be _greatly_ appreciated.

P.S. If you’ve used Propellerhead Reason before, the code should make the line move like the wires at the back of the rack (you can see the wires by pressing Tab)

ex: ![](http://reviews.cnet.com/sc/31348363-2-300-SS3.gif)

Yes, those wires bounce when you move them 🙂 It’s quite cool.
