Flash Player 6.
my_mc.attachAudio(source)
source The object containing the audio to play. Valid values are a Microphone object and false (stops playing the audio).
Nothing.
Method; specifies the audio source to be played locally (Microphone object). To stop playing the audio source, pass false for source.
To play local audio, pass a Microphone object as source. This captures and plays local audio from the microphone hardware.
The following code attaches a microphone to a movie clip.
my_mic = Microphone.get(); this.attachAudio(my_mic);