# Pushing movieclips created by create/duplicateMovieClip into 1 movieclip?

**URL:** https://forum.kirupa.com/t/pushing-movieclips-created-by-create-duplicatemovieclip-into-1-movieclip/198938
**Category:** flash
**Created:** [August 29, 2006, 8:42pm UTC](https://forum.kirupa.com/t/pushing-movieclips-created-by-create-duplicatemovieclip-into-1-movieclip/198938 "2006-08-29T20:42:16Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![REEF](https://avatars.discourse-cdn.com/v4/letter/r/ce73a5/32.png) [@REEF](https://forum.kirupa.com/u/REEF)
#### Post date: [August 29, 2006, 8:42pm UTC](https://forum.kirupa.com/t/pushing-movieclips-created-by-create-duplicatemovieclip-into-1-movieclip/198938/1 "2006-08-29T20:42:16Z")

</div>

Okay using createMovieClip I’ve created an MC called container0. Now, using duplicate movieclip & some for loops, the movie created up to 20 containers which go by the name of:

container1  
container2  
…  
container20

Now is there any way (possibly using a for loop) to push all containers from 0 to 20 into 1 master movieclip?

OR

Is it even possible during the duplicateMovieClip/createMovieClip function that I can arrange which movieclip the new duplicated/created movieclip goes into?

–

So you know the story, I’m trying to create a ton of boxes, that I eventually want to use the image pan script on.
