# Xml photogalerry with back button

**URL:** <https://forum.kirupa.com/t/xml-photogalerry-with-back-button/182939>\
**Category:** Uncategorized\
**Created:** [March 22, 2006, 4:46pm UTC](https://forum.kirupa.com/t/xml-photogalerry-with-back-button/182939 "2006-03-22T16:46:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bokoyeb](https://avatars.discourse-cdn.com/v4/letter/b/b487fb/32.png) [@bokoyeb](https://forum.kirupa.com/u/bokoyeb)\
**Post date:** [March 22, 2006, 4:46pm UTC](https://forum.kirupa.com/t/xml-photogalerry-with-back-button/182939/1 "2006-03-22T16:46:45Z")

</div>

I have done the xml photogallery and I have it as an external swf.On my main page I have 6 buttons representing diffrent photo gallery and in each button I have code

on (release) {  
container.loadMovie(“photogallery1.swf”);

}

So basicly when I click on 1 of 6 btn a gallery pop ups.And that’s ok.But now I want to other pics to disapear when one of the galleries load and to have a BACK button wich would unload the movie and return to the previous selection.I tried using

on (release) {  
this.unloadMovie(“photogallery1.swf”);

but this makes the movie to unload and after that I have white screen.

---

<div class="post-metadata">

**Author:** ![bokoyeb](https://avatars.discourse-cdn.com/v4/letter/b/b487fb/32.png) [@bokoyeb](https://forum.kirupa.com/u/bokoyeb)\
**Post date:** [March 22, 2006, 5:04pm UTC](https://forum.kirupa.com/t/xml-photogalerry-with-back-button/182939/2 "2006-03-22T17:04:31Z")

</div>

Ok somehow I’ve figured out and use this code on back button  
on(release){  
this.container.unloadMovie()  
}

but now I want to to other buttons disappear.Any hints plzz

---

<div class="post-metadata">

**Author:** ![bokoyeb](https://avatars.discourse-cdn.com/v4/letter/b/b487fb/32.png) [@bokoyeb](https://forum.kirupa.com/u/bokoyeb)\
**Post date:** [March 22, 2006, 5:06pm UTC](https://forum.kirupa.com/t/xml-photogalerry-with-back-button/182939/3 "2006-03-22T17:06:26Z")

</div>

Ok somehow I’ve figured out and use this code on back button  
on(release){  
this.container.unloadMovie()  
}

but now I want to to other buttons disappear.Any hints plzz
