# mp3 player

**URL:** <https://forum.kirupa.com/t/mp3-player/84717>\
**Category:** Uncategorized\
**Created:** [March 29, 2005, 11:48pm UTC](https://forum.kirupa.com/t/mp3-player/84717 "2005-03-29T23:48:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sang](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@sang](https://forum.kirupa.com/u/sang)\
**Post date:** [March 29, 2005, 11:48pm UTC](https://forum.kirupa.com/t/mp3-player/84717/1 "2005-03-29T23:48:00Z")

</div>

hi im having a lil problem for an mp3 for a site im building…

basically the following swf ([http://www.vr1music.co.uk/ron/mp3player.swf) is the player, inside that is a progress bar and loader component, into which the swf file with the music is loaded ([url=“http://www.vr1music.co.uk/ron/music.swf”]http://www.vr1music.co.uk/ron/music.swf](http://www.vr1music.co.uk/ron/mp3player.swf))

problem is, music.swf is fine when i open it by its self, all the music plays and all buttons work… But when mp3player.swf loads it in the loader nothing plays… Can anyone help?

I want to keep the music in a seperate file to the mp3player skin, so that it is easy to add remove songs.

the code that i have used for the music.swf is:

Actions layer:

mySound = new Sound();  
mySound.attachSound(“Sajana”);  
mySound1 = new Sound();  
mySound1.attachSound(“Dil”);  
mySound3 = new Sound();  
mySound3.attachSound(“Hey”);  
stop();

On a movie clip in another layer (so the music plays when opened up):

onClipEvent (load) {  
if (\_root.playing != true) {  
\_root.mySound1.start(0, 999);  
\_root.playing = true;  
}  
}

Thanks in advance.
