# Gallery with two containers

**URL:** <https://forum.kirupa.com/t/gallery-with-two-containers/212584>\
**Category:** flash\
**Created:** [January 12, 2007, 9:57am UTC](https://forum.kirupa.com/t/gallery-with-two-containers/212584 "2007-01-12T09:57:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![michey](https://avatars.discourse-cdn.com/v4/letter/m/3d9bf3/32.png) [@michey](https://forum.kirupa.com/u/michey)\
**Post date:** [January 12, 2007, 9:57am UTC](https://forum.kirupa.com/t/gallery-with-two-containers/212584/1 "2007-01-12T09:57:10Z")

</div>

Hi  
I would like to set up a gallery which works with two containers as transitions playground.  
Until now I havent really understood, how this 2 containers thing should work.  
I mean should be the second container a duplicate of the first, or attached or a created-emptyclip, is there need for swapdepth, at which time pictures should be loaded in this second container, should the second container be removed or killed after using???  
Can someone explain this and give a little code example just for the container part?(everything else needed for a gallery,xml, loading and transitions are clear)

Thanks!
