MACROMEDIA FLASH COMMUNICATION SERVER MX-SERVER-SIDE COMMUNICATION ACTIONSCRIPT DICTIONARY Especificações Página 234

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 369
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 233
Client-Side Communication ActionScript 43
Example
The following example lets the user specify the default microphone, then captures audio and plays
it back locally. To avoid feedback, you may want to test this code while wearing headphones.
System.showSettings(2);
myMic = Microphone.get();
_root.attachAudio(myMic);
See also
Microphone.index, Microphone.muted, Microphone.names, Microphone.onStatus,
MovieClip.attachAudio, NetStream.attachAudio
Microphone.index
Availability
Flash Player 6.
Flash Communication Server MX (not required).
Usage
activeMicrophone.index
Description
Read-only property; a zero-based integer that specifies the index of the microphone, as reflected
in the array returned by
Microphone.names.
See also
Microphone.get, Microphone.names
Microphone.muted
Availability
Flash Player 6.
Flash Communication Server MX (not required).
Usage
activeMicrophone.muted
Description
Read-only property; 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.
Vista de página 233
1 2 ... 229 230 231 232 233 234 235 236 237 238 239 ... 368 369

Comentários a estes Manuais

Sem comentários