# Hmmm... For loops while adding dynamic movieClips with AS

**URL:** <https://forum.kirupa.com/t/hmmm-for-loops-while-adding-dynamic-movieclips-with-as/86818>\
**Category:** Uncategorized\
**Created:** [April 15, 2005, 6:22pm UTC](https://forum.kirupa.com/t/hmmm-for-loops-while-adding-dynamic-movieclips-with-as/86818 "2005-04-15T18:22:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jjmancini](https://avatars.discourse-cdn.com/v4/letter/j/58956e/32.png) [@jjmancini](https://forum.kirupa.com/u/jjmancini)\
**Post date:** [April 15, 2005, 6:22pm UTC](https://forum.kirupa.com/t/hmmm-for-loops-while-adding-dynamic-movieclips-with-as/86818/1 "2005-04-15T18:22:25Z")

</div>

Ok…  
After that wordy title, I want to know how to do just that. Here is a better explanation.

I have a movieClip that is called “buttonCase” with AS on it. What I want to do, is add that movieClip to the stage as many times as defined in my AS “showcaseNumber=5” plus the width of the previous one so they do not stack up.

I’m curious how to do this… Do I use loadMovie or loadClip or is there something else that I can use. Should I createEmptyMovieClip and put that in a for loop? I just really do not know. Any help would be GReAT!

Thanks!
