Flash sound recorder/detection of microphone?

Hi Everyone

Is it possible for flash to connect/detect the microphone in user machine and simulate the input of the user. Just to clarify what i want to achieve here is a scenario;

When flash application loads user should be able to press a button and record OR at least should be able to use their microphone not record anything but i m planning to put an animation that would indicate a sound input. Has anyone done something similar to this; if yes i would really appreciate your input.

thanks