# Movieclip .\_x & .\_y dynamic positioning

**URL:** <https://forum.kirupa.com/t/movieclip--x--y-dynamic-positioning/237303>\
**Category:** Uncategorized\
**Created:** [August 29, 2007, 5:04am UTC](https://forum.kirupa.com/t/movieclip--x--y-dynamic-positioning/237303 "2007-08-29T05:04:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ektorp](https://avatars.discourse-cdn.com/v4/letter/e/87869e/32.png) [@ektorp](https://forum.kirupa.com/u/ektorp)\
**Post date:** [August 29, 2007, 5:04am UTC](https://forum.kirupa.com/t/movieclip--x--y-dynamic-positioning/237303/1 "2007-08-29T05:04:45Z")

</div>

I have a set of movie clips I need to position within the bounds of a circle with equal distances between each movie clip. Basically, I need to dynamically position movie clips like you would position the numbers on a clock but it would not be limited to just 12 as the number of movie clips changes.

I am loading my movies via attachMovie:

for(var i=0; i \< 26; i++) {  
this.attachMovie(“mc”, “mc” + i, this.getNextHighestDepth());  
}

… and am stuck on how to set the x/y coordinates for what I need. Again, it would resemble a clock with 26 numbers and the clock would have a diameter of 130.

Any help would be greatly appreciated.
