# How to record a mp3 sound in flash

**URL:** <https://forum.kirupa.com/t/how-to-record-a-mp3-sound-in-flash/253909>\
**Category:** flash\
**Created:** [March 6, 2008, 12:02pm UTC](https://forum.kirupa.com/t/how-to-record-a-mp3-sound-in-flash/253909 "2008-03-06T12:02:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajiv\_2109](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@rajiv\_2109](https://forum.kirupa.com/u/rajiv_2109)\
**Post date:** [March 6, 2008, 12:02pm UTC](https://forum.kirupa.com/t/how-to-record-a-mp3-sound-in-flash/253909/1 "2008-03-06T12:02:11Z")

</div>

Hello ther,  
I’m using Flash 8 and Flash media Server to save an audio from a mic to the server.  
Actually the actionscript code is saving the recorded audio in flv format but i want it to be in mp3 format. Can some1 help me, part of the code is:

function doRecord(\_file\_name\_loc:String) {  
\_file\_name\_loc = \_file\_name;

if (Record\_btn.getLabel() == “Record”) {  
circle.\_xscale = circle.\_yscale = client\_mic.activityLevel+20;  
out\_ns.attachAudio(client\_mic);  
out\_ns.publish(\_file\_name\_loc, “record”);
