User Guide

Microphone 791
The MovieClip.getNextHighestDepth() method used in this example requires Flash Player
7 or later. If your SWF file includes a version 2 component, use the version 2 components
DepthManager class instead of the
MovieClip.getNextHighestDepth() method.
See also
get (Microphone.get method), names (Microphone.names property)
muted (Microphone.muted property)
public muted : Boolean [read-only]
A Boolean value that specifies whether the user has denied access to the microphone (true) or
allowed access (
false). When this value changes, Microphone.onStatus is invoked. For
more information, see
Microphone.get().
Availability: ActionScript 1.0; Flash Player 6
Example
This example gets the default microphone and checks whether it is muted.
var active_mic:Microphone = Microphone.get();
trace(active_mic.muted);
See also
get (Microphone.get method), onStatus (Microphone.onStatus handler)
name (Microphone.name property)
public name : String [read-only]
A string that specifies the name of the current sound capture device, as returned by the sound
capture hardware.
Availability: ActionScript 1.0; Flash Player 6
Example
The following example displays information about the sound capturing device(s) on your
computer system, including an array of names and the default device.
var status_ta:mx.controls.TextArea;
status_ta.html = false;
status_ta.setStyle("fontSize", 9);
var microphone_array:Array = Microphone.names;
var active_mic:Microphone = Microphone.get();
status_ta.text = "The default device is: "+active_mic.name+newline+newline;