replay microphone sound in flash

I'm looking for a way to capture the microphone sound and replay the sound after hitting a button. there is NO need to save the sound. The sound is only used in the current session.

Is there a way to do this without media server? Save it in memory?

as 2 is preferred.

To capture the sound I use:
m = Microphone.get();
//loading the mic
_root.attachAudio(m);
//and attching its output
m.setUseEchoSuppression(false);

Hope someone can help!
reinoutkoolAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

IqAndreasCommented:
If I understand this correctly, no, for security reasons there is no way to store sound captured through the microphone.

The only control you have over input is displaying the "volume/activity level"
http://flash-reference.icod.de/Microphone.html#activityLevel
http://www.kirupa.com/developer/actionscript/microphone.htm

I could be wrong, but I am 97% certain it is not possible. Sorry. :(
0
reinoutkoolAuthor Commented:
I don't want to store it, I just want to replay it to the user behind the microphone.
So the user says something in the microphone and replays the message to himself
0
IqAndreasCommented:
I can't find an AS2 statement that says it, but according to Adobe, it is NOT possible in AS3, so I'm guessing the same VERY likely applies to AS2.

"You cannot access raw audio data from the microphone; you can only send audio to the system’s speakers or send compressed audio data to a remote server. "
Taken from http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9b90204-7d1d.html

However, from what I hear, Flash 10.1 has a few added microphone capabilities, but it will be a while until most users have that new version installed on their system.
http://iqandreas.blogspot.com/2010/04/getting-started-with-flash-player-101.html
0
IqAndreasCommented:
So that means it is impossible to retrieve, extract, or store it in any way.

Sorry. :(
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.