There are a lot of ways that the microphone input could be invalid.

You check Microphone.names.length to see if they even have a microphone
installed, and check the current microphone's "muted" property to see if
they are denying you access to it. If it's denied, System.showSettings(0)
will help them "allow" access to the mic.

If you know they have at least one mic, you could prompt the user to speak,
then check the current microphone's activityLevel to see if you get
anything.  If not, use System.showSettings(2) to open the microphone
settings panel so they can choose the right mic and adjust the input level.

Microphone 
docs<http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?href=00002409.html>

--
andy makely

On 2/6/07, learner <[EMAIL PROTECTED]> wrote:

Hi All,
I am working on some voice recording  application in flash.
Before recording a audio, I want to give user a chance to check if his
microphone is working or not.
Please guid me in proper direction.
Regards,
Mayur
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to