# Load external wav

**URL:** https://forum.kirupa.com/t/load-external-wav/102262
**Category:** Uncategorized
**Created:** [February 21, 2004, 2:23pm UTC](https://forum.kirupa.com/t/load-external-wav/102262 "2004-02-21T14:23:22Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![G\_1](https://avatars.discourse-cdn.com/v4/letter/g/fbc32d/32.png) [@G\_1](https://forum.kirupa.com/u/G_1)
#### Post date: [February 21, 2004, 2:23pm UTC](https://forum.kirupa.com/t/load-external-wav/102262/1 "2004-02-21T14:23:22Z")

</div>

hey!

what i have:

var my\_sound = new Sound();  
my\_sound.loadSound(“ff.wav”, true);  
this.createEmptyMovieClip(“my\_mc”, 9876);  
var position = my\_sound.position;  
my\_mc.onEnterFrame = function() {  
if (my\_sound.position == position) {  
var percent = 100\*my\_sound.getBytesLoaded()/my\_sound.getBytesTotal();  
my\_txt.text = “Buffering “+Math.floor(percent)+”%”;  
} else {  
my\_txt.text = “Playing”;  
}  
position = my\_sound.position;  
};

what the problem is:

when i load a mp3, no problem  
when i load a wav, what i need, it buffers but doesnt play the wav file…

also

how can i embed windows media player into flash to play an external avi file?  
i can do it in html using javascript but how to do this within flash?

these were my questions of today…  
thank you  
xx

---

<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: [February 21, 2004, 2:58pm UTC](https://forum.kirupa.com/t/load-external-wav/102262/2 "2004-02-21T14:58:39Z")

</div>

That’s because you can only load MP3s dynamically. No other formats are supported. :-/

---

<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: [February 21, 2004, 4:57pm UTC](https://forum.kirupa.com/t/load-external-wav/102262/3 "2004-02-21T16:57:06Z")

</div>

\*\*\*\* thats tooo bad  
it was for recording sound in asia and then put them online, but i dont have the possibility to record-convert them to mp3…  
im recording the sound with my digi cam…

kay thx anywayz

---

<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: [February 21, 2004, 5:04pm UTC](https://forum.kirupa.com/t/load-external-wav/102262/4 "2004-02-21T17:04:24Z")

</div>

Well, there are a lot of audio format converters out there. 🙂  
…And remember, if you don’t know where to find it, [google](http://www.google.com/) it! 😛
