# X & y properties

**URL:** <https://forum.kirupa.com/t/x-y-properties/54407>\
**Category:** Uncategorized\
**Created:** [June 14, 2004, 1:09pm UTC](https://forum.kirupa.com/t/x-y-properties/54407 "2004-06-14T13:09:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![clwright\_2000](https://avatars.discourse-cdn.com/v4/letter/c/b2d939/32.png) [@clwright\_2000](https://forum.kirupa.com/u/clwright_2000)\
**Post date:** [June 14, 2004, 1:09pm UTC](https://forum.kirupa.com/t/x-y-properties/54407/1 "2004-06-14T13:09:33Z")

</div>

I want to set the x & y properties for 50 movie clips. I can achieve this by using the following code in the frame that the clips are contained. These MC are originally hidden, but when appear need to be at the following x & y positions.

Could someone help me with a more efficient way of coding this (cause Im certain there is one) 😉

\_root.mc1.\_x = 387.7;  
\_root.mc1.\_y = 440.9;

\_root.mc2.\_x = 387.7;  
\_root.mc2.\_y = 440.9;

\_root.mc3.\_x = 387.7;  
\_root.mc3.\_y = 440.9;

\_root.mc4.\_x = 387.7;  
\_root.mc4.\_y = 440.9;

\_root.mc5.\_x = 387.7;  
\_root.mc5.\_y = 440.9;

……………….  
……………….

\_root.mc50.\_x = 387.7;  
\_root.mc50.\_y = 440.9;

cheers,

Claire
