EasyManua.ls Logo

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE - Microphone

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
1378 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
784 ActionScript classes
trace(myMatrix.ty); // 0
myMatrix.ty = 50;
trace(myMatrix.ty); // 50
Microphone
Object
|
+-Microphone
public class Microphone
extends Object
The Microphone class lets you capture audio from a microphone attached to the computer
that is running Flash Player.
The Microphone class is primarily for use with Flash Communication Server but can be used
in a limited fashion without the server, for example, to transmit sound from your microphone
through the speakers on your local system.
Caution: Flash Player displays a Privacy dialog box that lets the user choose whether to allow
or deny access to the microphone. Make sure your Stage size is at least 215 x 138 pixels; this is
the minimum size Flash requires to display the dialog box.
Users and Administrative users may also disable microphone access on a per-site or global
basis.
To create or reference a Microphone object, use the
Microphone.get() method.
Availability: ActionScript 1.0; Flash Player 6
Property summary
Modifiers Property Description
activityLevel:Number
[read-only]
A numeric value that specifies the amount of sound
the microphone is detecting.
gain:Number [read-
only]
The amount by which the microphone boosts the
signal.
index:Number [read-
only]
A zero-based integer that specifies the index of the
microphone, as reflected in the array returned by
Microphone.names.
muted:Boolean [read-
only]
A Boolean value that specifies whether the user has
denied access to the microphone (true) or allowed
access (false).

Table of Contents

Related product manuals