# Nested Movie Clips?

**URL:** https://forum.kirupa.com/t/nested-movie-clips/267527
**Category:** flash
**Created:** [August 2, 2008, 5:46am UTC](https://forum.kirupa.com/t/nested-movie-clips/267527 "2008-08-02T05:46:02Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![orangebychoice](https://avatars.discourse-cdn.com/v4/letter/o/73ab20/32.png) [@orangebychoice](https://forum.kirupa.com/u/orangebychoice)
#### Post date: [August 2, 2008, 5:46am UTC](https://forum.kirupa.com/t/nested-movie-clips/267527/1 "2008-08-02T05:46:02Z")

</div>

I don’t know the correct name for this…but I’m using the 3d tutorial here for a pattern to make a cover flow gallery with dynamic images, the final project will pull the image location from an xml file…I know my navigation is working…

but the images aren’t showing up, I hope this quote is enough to get an idea…

> for (i=0; i\<=4; i++){  
> obj = theScene.createEmptyMovieClip(“obj” + i, theScene.depth++);  
> var box = “obj” + i;  
> box.loadMovie(“poster” + i + “.jpg”);  
> obj.x = i \* 225;  
> obj.z = 0;  
> obj.target = new Object();  
> obj.target.z = obj.z;  
> obj.onPress = selectObject;  
> obj.display = displayObject;  
> obj.type = 0;  
> obj.selNumber = objn++;  
> objectsInScene.push(obj);  
> trace(box);  
> trace(“poster” + i + “.jpg”);

}
