# Force download for an mp3 player

**URL:** https://forum.kirupa.com/t/force-download-for-an-mp3-player/236580
**Category:** Uncategorized
**Created:** [August 22, 2007, 12:17am UTC](https://forum.kirupa.com/t/force-download-for-an-mp3-player/236580 "2007-08-22T00:17:51Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![punstc](https://avatars.discourse-cdn.com/v4/letter/p/87869e/32.png) [@punstc](https://forum.kirupa.com/u/punstc)
#### Post date: [August 22, 2007, 12:17am UTC](https://forum.kirupa.com/t/force-download-for-an-mp3-player/236580/1 "2007-08-22T00:17:51Z")

</div>

i have an mp3 player thats xml and i want to have a button the when clicked it downloads the current song playing. any ideas on how to achieve this. I already have a lyrics button i think it would be something kinda similar but with download settings. the lyrics button jsut links you to another page. here’s the code for it though

```auto

if(playlist_array[track_index].info!=undefined){
		info_mc._visible = true;
		info_mc.info_btn.onPress = function(){
			getURL(playlist_array[track_index].info,"_blank")
		}
	}else{
		info_mc._visible = false;
	}

```
