786
ActionScript classes
Method summary
Methods inherited from class Object
activityLevel (Microphone.activityLevel property)
public activityLevel : Number [read-only]
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.
Availability:
ActionScript 1.0; Flash Player 6
Modifiers
Signature
Description
static
get
([index:Number])
: Microphone
Returns a reference to a Microphone object for
capturing audio.
setGain
(gain:Number)
: Void
Sets the microphone gain--that is, the amount by
which the microphone should multiply the signal
before transmitting it.
setRate
(rate:Number)
: Void
Sets the rate, in kHz, at which the microphone should
capture sound.
setSilenceLevel
(sile
nceLevel:Number,
[timeOut:Number]) :
Void
Sets the minimum input level that should be
considered sound and (optionally) the amount of
silent time signifying that silence has actually begun.
setUseEchoSuppressio
n
(useEchoSuppression
:Boolean) : Void
Specifies whether to use the echo suppression
feature of the audio codec.
addProperty (Object.addProperty method)
,
hasOwnProperty
(Object.hasOwnProperty method)
,
isPropertyEnumerable
(Object.isPropertyEnumerable method)
,
isPrototypeOf (Object.isPrototypeOf
method)
,
registerClass (Object.registerClass method)
,
toString
(Object.toString method)
,
unwatch (Object.unwatch method)
,
valueOf
(Object.valueOf method)
,
watch (Object.watch method)
Содержание FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
Страница 1: ...ActionScript 2 0 Language Reference ...
Страница 1352: ...1352 ActionScript classes ...