# Load external mp3

**URL:** https://forum.kirupa.com/t/load-external-mp3/5595
**Category:** Uncategorized
**Created:** [September 17, 2002, 6:44am UTC](https://forum.kirupa.com/t/load-external-mp3/5595 "2002-09-17T06:44:45Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![corinne](https://avatars.discourse-cdn.com/v4/letter/c/46a35a/32.png) [@corinne](https://forum.kirupa.com/u/corinne)
#### Post date: [September 17, 2002, 6:44am UTC](https://forum.kirupa.com/t/load-external-mp3/5595/1 "2002-09-17T06:44:45Z")

</div>

I’m trying hard but with no success to load external mp3 into this cleoplayer.fla.

The cleoplayer is placed on my homepage. Our mp3’s are to havy to be in the .swf.

How can I do that with my .fla? I can send my .fla trough your email if you liked.

Thank you in advance to help me.

Corinne

---

<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: [September 17, 2002, 6:51am UTC](https://forum.kirupa.com/t/load-external-mp3/5595/2 "2002-09-17T06:51:34Z")

</div>

You can’t post a .swf file as an attachment. It doesn’t show. I learned that one the hard way too.

This is coming straight from a tutorial from Kirupa.

\<B\>\<U\>Load .mp3 dynamically with Flash MX:\</U\>\</B\>  
It’s the same method. The commands change a bit, but the idea is similar : you create an instance of a sound object, in which you load the sound. This instance is what we will use to change the properties of the sound (volume for instance).

Here again, you can load dynamically sounds under a certain format, which happens to be MP3.

```auto
mySound = new Sound();
mySound.loadSound("music.mp3",true);

```

\<B\>mySound = new Sound();\</B\>  
You create a new Sound object.

\<B\>mySound.loadSound(“music.mp3”,true);\</B\>  
You load music.mp3 into mySound. The second parameter is call isStreaming. If it’s set to true, the sound will play while loading, whereas it will wait until it’s fully loaded before playing if isStreaming is set to false.

I hope this helps.

Here is a link to the tutorial… It is for MX, which I believe is the only version thus far that supports dynamically loaded mp3 and images.

[http://www.kirupa.com/developer/mx/loading.asp](http://www.kirupa.com/developer/mx/loading.asp)

---

<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: [September 17, 2002, 6:54am UTC](https://forum.kirupa.com/t/load-external-mp3/5595/3 "2002-09-17T06:54:13Z")

</div>

Encore quelqu’un qui parle francais, woohoo!!

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: [September 17, 2002, 6:55am UTC](https://forum.kirupa.com/t/load-external-mp3/5595/4 "2002-09-17T06:55:33Z")

</div>

Man too many people speak french:) . Yeah, I guess thats another one Ilyas.

---

<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: [September 17, 2002, 6:57am UTC](https://forum.kirupa.com/t/load-external-mp3/5595/5 "2002-09-17T06:57:56Z")

</div>

Grüezi la Suisse,

It would be better if you could zip the fla and attach that, just to check how the playing/loading etc is handled in there, i know i have this cleoplayer thing somewhere, but i have about 2 cd’s full with fla (that’s a LOT!) and don’t want to look throught them.

If we can see the fla, we (or I or someone …) can rewritte the code for Flash MX (if you use that), coz F 5 couldn’t dynamically load mp3’s.

---

<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: [September 17, 2002, 7:09am UTC](https://forum.kirupa.com/t/load-external-mp3/5595/6 "2002-09-17T07:09:50Z")

</div>

yeah its not that hard to do… just do the tut on this site…or the one on flash kit… 🙂

---

<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: [September 18, 2002, 7:57pm UTC](https://forum.kirupa.com/t/load-external-mp3/5595/7 "2002-09-18T19:57:04Z")

</div>

that stupid tutorial doesnt work. Im using Flash MX and have tried that thing, and i get a download prompt. Im not an expert at actionscripting, but i dont think thats _dynamically loading_

does anyone know that answer??

thanks

~J
