# Actionscript Movieclip Placement Problem

**URL:** <https://forum.kirupa.com/t/actionscript-movieclip-placement-problem/132490>\
**Category:** Uncategorized\
**Created:** [December 29, 2004, 5:44am UTC](https://forum.kirupa.com/t/actionscript-movieclip-placement-problem/132490 "2004-12-29T05:44:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Entratera](https://avatars.discourse-cdn.com/v4/letter/e/5e9695/32.png) [@Entratera](https://forum.kirupa.com/u/Entratera)\
**Post date:** [December 29, 2004, 5:44am UTC](https://forum.kirupa.com/t/actionscript-movieclip-placement-problem/132490/1 "2004-12-29T05:44:33Z")

</div>

Sorta the same bases of the falling snow but specific x value locations. On one of my frames I have a for loop which takes the a movieclip and duplicates it 30 times. Now in the movieclip I have the onClipEvent(load) where I define the \_x and \_y value. Some how I need to get the movieclip to appreat every 20 pixels from the last one. I was thinking of using the i variable in the for loop but by the time I get to the clip event the for loop is to the max of 30. Is the anyway I can declare \_x value of a duplicate movieclip in the for loop. I just need the code snip that set the duplicated movieclip to -20+i\*20. Anyway have the code snippet if there is one? Thanks a bunch! 😉
