# Button Load New XML into movie?

**URL:** https://forum.kirupa.com/t/button-load-new-xml-into-movie/166102
**Category:** flash
**Created:** [October 17, 2005, 3:37am UTC](https://forum.kirupa.com/t/button-load-new-xml-into-movie/166102 "2005-10-17T03:37:30Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![woodman650](https://avatars.discourse-cdn.com/v4/letter/w/b9bd4f/32.png) [@woodman650](https://forum.kirupa.com/u/woodman650)
#### Post date: [October 17, 2005, 3:37am UTC](https://forum.kirupa.com/t/button-load-new-xml-into-movie/166102/1 "2005-10-17T03:37:30Z")

</div>

Hey all,  
I wondered if there was a way to have a few buttons load different xml docs into a single frame. Basically, I’ve got an image gallery, and I’d like to click a button and have a new xml doc load in and replace the existing. I know I could do this by just putting each gallery section on a frame, placing a load command on each frame for each xml doc, but I wondered how to do this on just one frame? (I hope this makes sense, haha) thanks!
