# mp3 chooser

**URL:** <https://forum.kirupa.com/t/mp3-chooser/536>\
**Category:** flash\
**Created:** [July 21, 2002, 4:01pm UTC](https://forum.kirupa.com/t/mp3-chooser/536 "2002-07-21T16:01:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Taubi](https://avatars.discourse-cdn.com/v4/letter/t/eb9ed0/32.png) [@Taubi](https://forum.kirupa.com/u/Taubi)\
**Post date:** [July 21, 2002, 4:01pm UTC](https://forum.kirupa.com/t/mp3-chooser/536/1 "2002-07-21T16:01:46Z")

</div>

Hi!

I’m newie here. I’m having a problem with constructioning my homepage! For any help I’ll be very thankfull!!!

I’m building a flash movie, when will users be able to choose between several .mp3’s to play in background. I know how to make buttons (play, stop…), how to attach the sound, but I want a choosable scrollbox with several mp3’s. And when will the user change a mp3 from the base it’ll start to play from server. I’ve used the function:

attachsound.goodsong(“helphere.mp3”)

Instead of “helphere” I want to see a variable(any mp3, choosen from user).

I hope you understand my problem, 'cause my english is not so good!!

Thank you a lot!!!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 22, 2002, 12:49pm UTC](https://forum.kirupa.com/t/mp3-chooser/536/2 "2002-07-22T12:49:04Z")

</div>

You want to use one of Macromedia’s components, right ?

pom :asian:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 23, 2002, 10:38am UTC](https://forum.kirupa.com/t/mp3-chooser/536/3 "2002-07-23T10:38:16Z")

</div>

Yeah, that’s right:) . I’m going to built my own mp3 player with flash so any help would be welcome!

Thnx

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 23, 2002, 12:55pm UTC](https://forum.kirupa.com/t/mp3-chooser/536/4 "2002-07-23T12:55:29Z")

</div>

I would recommend using .loadSound() to load external mp3s. I have an online mp3 player that simply uses a loadVariables action to post to an asp script, which simply returns the name of every .mp3 file in that directory. The results are populated in a text field… click the name of the mp3 you want and it performs this action…

when clicked, it sets the variable mp3File to the name fo the mp3 from the directory you want to load.

(this is loaded on another level for streaming reasons)  
\_root:soundPlayer = new Sound();  
\_root:soundPlayer.loadSound(mp3File,true);  
\_root:soundPlayer.setVolume(100);

this 1 creates new sound object, externally loads an mp3 file, and sets volume on the new sound object.

for an online example:  
[www.circol.net](http://www.circol.net)  
log in with demo/demo  
click the music icon at the top.

travis sellers  
[travis@dynmedia.com](mailto:travis@dynmedia.com)
