# Nesting MX Photogallery from Kirupa Tutorial

**URL:** <https://forum.kirupa.com/t/nesting-mx-photogallery-from-kirupa-tutorial/71353>\
**Category:** flash\
**Created:** [November 23, 2004, 9:27pm UTC](https://forum.kirupa.com/t/nesting-mx-photogallery-from-kirupa-tutorial/71353 "2004-11-23T21:27:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ttist](https://avatars.discourse-cdn.com/v4/letter/t/50afbb/32.png) [@ttist](https://forum.kirupa.com/u/ttist)\
**Post date:** [November 23, 2004, 9:27pm UTC](https://forum.kirupa.com/t/nesting-mx-photogallery-from-kirupa-tutorial/71353/1 "2004-11-23T21:27:41Z")

</div>

Hello -

I’ve created the photo gallery using the tutorial at [http://www.kirupa.com/developer/mx/photogallery.htm](http://www.kirupa.com/developer/mx/photogallery.htm) and it is working great - until I try to nest the movie in my existing flash site.

Hope you can help. Here goes.

**The Setup:**  
I have 3 movies nested as follows:  
[list]  
[_]temp1.swf - the main movie  
[list]  
[_]_page3.swf_ - child of temp1 which is loaded into a movieclip instance on temp1 using loadMovie  
[list]  
[\*]_galleryKitchens.swf_ - child of page3 which, again, is loaded into a movieclip instance on page3  
[/list]  
[/list]  
[/list]_galleryKitchens_ was created step-by-step according to the above referenced tutorial except that I have added navigation buttons to scroll back and forth through the images. The buttons use the following:

```auto
 on (release) {
_root.changePhoto(1); 
}

```

I have a button instance on _page3_ with the following AS:

```auto
 on (release) {
bucket.loadMovie('galleryKitchens.swf');
}

```

_bucket_ is the instance name of the movieclip into which _galleryKitchens_ loads.

**The Problem:**  
When I click the button, _galleryKitchens_ is loaded into _bucket_, the first image (in pArray) is loaded, and the navigation buttons flash on the screen and then disappear. It’s as if the nav button layer is below the image layer.

**The Shameless Plea For Help:**  
This thing is driving me NUTZ!!! I have been working on it for days to no avail. Any help will be GREATLY appreciated.

I’m new to the Flash thing so please go easy.

Thanks

B
