Muted (Microphone.muted Property); Name (Microphone.name Property) - MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference

Actionscript 2.0 language reference
Table of Contents

Advertisement

The
MovieClip.getNextHighestDepth()
7 or later. If your SWF file includes a version 2 component, use the version 2 components
DepthManager class instead of the
See also
get (Microphone.get method)

muted (Microphone.muted property)

public muted : Boolean [read-only]
A Boolean value that specifies whether the user has denied access to the microphone (
allowed access (
false
more information, see
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)

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;
MovieClip.getNextHighestDepth()
,
names (Microphone.names property)
). When this value changes,
Microphone.get()
,
onStatus (Microphone.onStatus handler)
method used in this example requires Flash Player
Microphone.onStatus
.
method.
) or
true
is invoked. For
Microphone
791

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF