Microphone.activityLevel
535
Event handler summary for the Microphone class
Constructor for the Microphone class
See
Microphone.get()
.
Microphone.activityLevel
Availability
Flash Player 6.
Usage
active_mic
.activityLevel
:Number
Description
Read-only property; a numeric value that specifies the amount of sound the microphone is
detecting. Values range from 0 (no sound is being detected) to 100 (very loud sound is being
detected). The value of this property can help you determine a good value to pass to the
Microphone.setSilenceLevel()
method.
If the microphone is available but is not yet being used because
Microphone.get()
has not been
called, this property is set to -1.
Example
The following example displays the activity level of the current microphone in a ProgressBar
instance called
activityLevel_pb
.
var activityLevel_pb:mx.controls.ProgressBar;
activityLevel_pb.mode = "manual";
Microphone.names
Class property; an array of strings reflecting the names of all
available sound capture devices, including sound cards
and microphones.
Microphone.rate
The sound capture rate, in kHz.
Microphone.silenceLevel
The amount of sound required to activate the microphone.
Microphone.silenceTimeOut
The number of milliseconds between the time the
microphone stops detecting sound and
Microphone.onActivity(false)
is called.
Microphone.useEchoSuppression
A Boolean value that specifies whether echo suppression is
being used.
Event handler
Description
Microphone.onActivity
Invoked when the microphone starts or stops detecting
sound.
Microphone.onStatus
Invoked when the user allows or denies access to the
microphone.
Property (read-only)
Description
Summary of Contents for FLEX
Page 1: ...Flex ActionScript Language Reference ...
Page 8: ......
Page 66: ...66 Chapter 2 Creating Custom Classes with ActionScript 2 0 ...
Page 76: ......
Page 133: ...break 133 See also for for in do while while switch case continue throw try catch finally ...
Page 135: ...case 135 See also break default strict equality switch ...
Page 146: ...146 Chapter 5 ActionScript Core Language Elements See also break continue while ...
Page 808: ...808 Chapter 7 ActionScript for Flash ...
Page 810: ...810 Appendix A Deprecated Flash 4 operators ...
Page 815: ...Other keys 815 Num Lock 144 186 187 _ 189 191 192 219 220 221 222 Key Key code ...
Page 816: ...816 Appendix B Keyboard Keys and Key Code Values ...
Page 822: ...822 Index ...