# Adding movieclips inside of two other movieclips... XML powered slideshow

**URL:** <https://forum.kirupa.com/t/adding-movieclips-inside-of-two-other-movieclips-xml-powered-slideshow/206355>\
**Category:** Uncategorized\
**Created:** [November 7, 2006, 2:11pm UTC](https://forum.kirupa.com/t/adding-movieclips-inside-of-two-other-movieclips-xml-powered-slideshow/206355 "2006-11-07T14:11:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![camupod](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/camupod/32/2903_2.png) [@camupod](https://forum.kirupa.com/u/camupod)\
**Post date:** [November 7, 2006, 2:11pm UTC](https://forum.kirupa.com/t/adding-movieclips-inside-of-two-other-movieclips-xml-powered-slideshow/206355/1 "2006-11-07T14:11:03Z")

</div>

hello…

I have been working on this project that used part of the kirupa tutorial for XML slideshows as a base. What it does is takes a set of thumbnails from an XML file and puts them in a movie clip on different layers. (Each thumbnail a new movieclip on a new layer of the original movieclip)

Anyways, what I am trying to do is make a menu movieclip pop up when a button is clicked. Inside this movieclip is where I want to throw the movieclip for thumbnails to load on. The menu movieclip is working fine and whatnot, but I cannot figure out how to get the thumbnails to load inside that second movieclip.

Here is a chunk of my code:

```auto

function createThumbnailScroller(current_mc, currentThumbFile, thumbCenter) {
    thumbnail_scroller.createEmptyMovieClip("t"+current_mc, thumbnail_scroller.getNextHighestDepth());
    tlistener = new Object();
    tlistener.onLoadInit = function(target_mc) {
        target_mc._x = hit_left._x+(target_mc._width+20)*current_mc;
        target_mc.pictureValue = thumbNumb[current_mc];
        //trace(thumbNumbforJS[current_mc]);
        target_mc.onEnterFrame = function() {
            thumbWidth = target_mc._width;
        };
        target_mc.onRelease = function() {
            //tell JS to jump to that slide
            flash.external.ExternalInterface.call("jumpToSlide", thumbNumbforJS[current_mc] )
            //set scroller movieclip back in its original position (go back to main screen)
            yVal = 362;
            scroller_move();
        };
        target_mc.onRollOver = function() {
            fadeDown(this);
        };
        target_mc.onRollOut = function() {
            fadeUp(this);
        };
    };
    image_mcl = new MovieClipLoader();
    image_mcl.addListener(tlistener);
    image_mcl.loadClip(currentThumbFile, "thumbnail_scroller.t" + current_mc);
}

```

“thumbnail\_scroller” is the movieclip which is inside of “scroller”, the menu movieclip.

Thanks…
