# \[Flash8\]Help on proximity with lines

**URL:** <https://forum.kirupa.com/t/flash8-help-on-proximity-with-lines/238979>\
**Category:** flash\
**Created:** [September 17, 2007, 6:08pm UTC](https://forum.kirupa.com/t/flash8-help-on-proximity-with-lines/238979 "2007-09-17T18:08:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mightyj](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/mightyj/32/3283_2.png) [@mightyj](https://forum.kirupa.com/u/mightyj)\
**Post date:** [September 17, 2007, 6:08pm UTC](https://forum.kirupa.com/t/flash8-help-on-proximity-with-lines/238979/1 "2007-09-17T18:08:53Z")

</div>

**The setup**  
I’ve been reading and viewing tutes on proximity but I can’t find exactly what i am looking for so i am going to try and post here. Basically I have about 50 boxes on the stage. They basically look like a barcode serial on the stage. They are named bar1 all the way to bar50. When you rollover one it scales up. It also scales out slightly in the x direction as well. on click it scales out to just about fill the stage and shwos a photo.

image attached of the bars.

**the issue:**

I am trying to make it to where all bars stay away from each other at the equal amount of spacing that they started with (about 5-10pixels). So when I rollover bar1 it gets bigger and bar2-bar50 move to the right to allow space for bar1. When i click on bar one and it opens even wider then all bars get pushed as well. I plan to implement easing for this as I get it working. Any help on getting this working would be great. thanks in advance!
