# Problem adding transition on XML Slidedeshow/Photogallery

**URL:** <https://forum.kirupa.com/t/problem-adding-transition-on-xml-slidedeshow-photogallery/177893>\
**Category:** open source\
**Created:** [February 6, 2006, 9:03am UTC](https://forum.kirupa.com/t/problem-adding-transition-on-xml-slidedeshow-photogallery/177893 "2006-02-06T09:03:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![blind486](https://avatars.discourse-cdn.com/v4/letter/b/779978/32.png) [@blind486](https://forum.kirupa.com/u/blind486)\
**Post date:** [February 6, 2006, 9:03am UTC](https://forum.kirupa.com/t/problem-adding-transition-on-xml-slidedeshow-photogallery/177893/1 "2006-02-06T09:03:25Z")

</div>

okay. Darylmeter posted this link as an example for xml transition.  
[http://blog.reintroducing.com/index.php/27/07/2005/42](http://blog.reintroducing.com/index.php/27/07/2005/42)

now im trying to merge this idea into the xml photogallery/slideshow.  
problem is that the example transition has 3 different movieclip loading  
individually their xml pic . while the xml slideshow/photogallery has one blank movieclip which is named ‘picture’.

the transition uses  
movieclip.swapDepths(\_root.getNextHighestDepth());  
every time the button is pushed, covering the previous movie with  
another movie to create a nice mask/transition.

problem is how can i make 2 blank movieclips exchanges depth at the same time while they are loading xml images so their masking/transition is nicely done covering any previous pic that is loaded. the xml slideshow/photogallery has only one movieclip that loads the xml pic, which is really giving me a difficult time as a beginner/novice.

movieclip(mask\_mc & load\_xml\_photo\_mc)  
|  
exchange depth  
|  
movieclip2(mask\_mc & load\_xml\_photo\_mc)

hope you guys got my idea…
