MACROMEDIA FLASH COMMUNICATION SERVER MX-SERVER-SIDE COMMUNICATION ACTIONSCRIPT DICTIONARY Spezifikationen Seite 243

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 369
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 242
52
Microphone.silenceTimeout
Availability
Flash Player 6.
Flash Communication Server MX (not required).
Usage
activeMicrophone.silenceTimeout
Description
Read-only property; a numeric value representing the number of milliseconds between the time
the microphone stops detecting sound and the time
Microphone.onActivity(false) is
invoked. The default value is 2000 (2 seconds).
To set this value, use
Microphone.setSilenceLevel.
Example
The following example sets the timeout to two times its current value.
myMic.setSilenceLevel(myMic.silenceLevel, myMic.silenceTimeOut * 2);
See also
Microphone.setSilenceLevel
Microphone.useEchoSuppression
Availability
Flash Player 6.
Flash Communication Server MX (not required).
Usage
activeMicrophone.useEchoSuppression
Description
Read-only property; a Boolean value of true if echo suppression is enabled, false otherwise. The
default value is false unless the user has selected Reduce Echo in the Flash Player Microphone
Settings panel.
Example
The following example checks for echo suppression and turns it on if it is off.
_root.myMic.onActivity = function(active) {
if (active == true) {
if (_root.myMic.useEchoSuppression == false) {
_root.myMic.setUseEchoSuppression(true);
}
}
}
See also
Microphone.setUseEchoSuppression
Seitenansicht 242
1 2 ... 238 239 240 241 242 243 244 245 246 247 248 ... 368 369

Kommentare zu diesen Handbüchern

Keine Kommentare