MACROMEDIA FLASH MEDIA SERVER 2-CLIENT-SIDE ACTIONSCRIPT LANGUAGE REFERENCE FOR FLASH MEDIA SERVER 2 Reference page 49

Client-side actionscript language reference for flash media server 2
Table of Contents

Advertisement

Example
The following example displays
starts or stops detecting sound.
var active_mic:Microphone = Microphone.get();
_root.attachAudio(active_mic);
active_mic.onActivity = function(mode){
trace(mode);
}
See also
Microphone.setSilenceLevel()
Microphone.onStatus
Availability
Flash Player 6.
Flash Media Server (not required).
Usage
public onStatus = function(infoObject:Object) {}
Parameters
A parameter defined according to the status message. For more information
infoObject
about this parameter, see
Returns
Nothing.
Description
Event handler; invoked when the user allows or denies access to the microphone. If you want
to respond to this event handler, you must create a function to process the information object
generated by the microphone. For more information, see
Information Objects," on page
or
true
false
"Microphone information objects" on page
149.
in the Output panel when the microphone
Appendix A, "Client-Side
151.
Microphone class
49

Advertisement

Table of Contents
loading

This manual is also suitable for:

Media server 2

Table of Contents