# Flash MX : Help with attaching & moving multiple mc's

**URL:** <https://forum.kirupa.com/t/flash-mx-help-with-attaching-moving-multiple-mcs/130685>\
**Category:** Uncategorized\
**Created:** [December 7, 2004, 4:40pm UTC](https://forum.kirupa.com/t/flash-mx-help-with-attaching-moving-multiple-mcs/130685 "2004-12-07T16:40:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Snx](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/snx/32/929_2.png) [@Snx](https://forum.kirupa.com/u/Snx)\
**Post date:** [December 7, 2004, 4:40pm UTC](https://forum.kirupa.com/t/flash-mx-help-with-attaching-moving-multiple-mcs/130685/1 "2004-12-07T16:40:25Z")

</div>

Making a random motion “node Nav” where the square nodes attach by a line to another square.

I have the first one made and working good so now i need to add the others and I would like to do this without ‘onEnter’

i have:  
this.attachMovie(“squareNode”, sNode, this.getNextHighestDepth());

i know i can attach as many as i want by looping:

this.attachMovie(“squareNode”, “sNode”+x, this.getNextHighestDepth());  
x++

but I am stuck 'cause I cant access the movieclips .\_x and .\_y positions in the same manner (makes me think the method for attaching the movie is not the best route)

thx.  
snx

zipped Flash:  
[http://www.standardmethod.ca/flash/node.zip](http://www.standardmethod.ca/flash/node.zip)
