Microphone.useechosuppression - MACROMEDIA FLASH MX 2004-ACTIONSCRIPT LANGUAGE Reference

Actionscript language reference
Table of Contents

Advertisement

Microphone.useEchoSuppression

Availability
Flash Player 6.
Usage
active_mic.useEchoSuppression:Boolean
Description
Property (read-only); a Boolean value of
The default value is
Microphone Settings panel.
Example
The following example turns on echo suppression if the user selects a CheckBox instance called
useEchoSuppression_ch
current activity level of the audio stream.
var useEchoSuppression_ch:mx.controls.CheckBox;
var activityLevel_pb:mx.controls.ProgressBar;
this.createEmptyMovieClip("sound_mc", this.getNextHighestDepth());
var active_mic:Microphone = Microphone.get();
sound_mc.attachAudio(active_mic);
activityLevel_pb.mode = "manual";
activityLevel_pb.label = "Activity Level: %3";
useEchoSuppression_ch.selected = active_mic.useEchoSuppression;
this.onEnterFrame = function() {
activityLevel_pb.setProgress(active_mic.activityLevel, 100);
};
var chListener:Object = new Object();
chListener.click = function(evt:Object) {
active_mic.setUseEchoSuppression(evt.target.selected);
};
useEchoSuppression_ch.addEventListener("click", chListener);
See also
Microphone.setUseEchoSuppression()
472
Chapter 2: ActionScript Language Reference
true
unless the user has selected Reduce Echo in the Flash Player
false
. The ProgressBar instance called
if echo suppression is enabled,
activityLevel_pb
otherwise.
false
displays the

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx

Table of Contents