# Loading XML into a Download Button?

**URL:** https://forum.kirupa.com/t/loading-xml-into-a-download-button/213380
**Category:** Uncategorized
**Created:** [January 19, 2007, 2:44am UTC](https://forum.kirupa.com/t/loading-xml-into-a-download-button/213380 "2007-01-19T02:44:13Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![split67](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/split67/32/2089_2.png) [@split67](https://forum.kirupa.com/u/split67)
#### Post date: [January 19, 2007, 2:44am UTC](https://forum.kirupa.com/t/loading-xml-into-a-download-button/213380/1 "2007-01-19T02:44:13Z")

</div>

Ok, so if you go to the link below and click on the music icon, there’s a list of songs that load from an XML file . If you click on a song, the details load into a box on the right. If you press the play button, the selected song loads and plays. What I need to accomplish is having the selected song load into the download button, and when the download button is pressed, it force downloads the mp3 file to the users desktop.

site: [http://shakeyhands.com/testing/mbeats/site/finalsite.html](http://shakeyhands.com/testing/mbeats/site/finalsite.html)

I’ve zipped the fla & XML files for viewing/editing here  
[http://shakeyhands.com/testing/mbeats/site/music.zip](http://shakeyhands.com/testing/mbeats/site/music.zip)
