![MACROMEDIA FLEX-FLEX ACTIONSCRIPT LANGUAGE Reference Download Page 539](http://html1.mh-extra.com/html/macromedia/flex-flex-actionscript-language/flex-flex-actionscript-language_reference_3387192539.webp)
Microphone.name
539
mic_lbl.text = "["+active_mic.index+"] "+active_mic.name;
mic_cb.dataProvider = Microphone.names;
mic_cb.selectedIndex = active_mic.index;
var cbListener:Object = new Object();
cbListener.change = function(evt:Object) {
active_mic = Microphone.get(evt.target.selectedIndex);
sound_mc.attachAudio(active_mic);
mic_lbl.text = "["+active_mic.index+"] "+active_mic.name;
};
mic_cb.addEventListener("change", cbListener);
See also
Microphone.get()
,
Microphone.names
Microphone.muted
Availability
Flash Player 6.
Usage
active_mic
.muted
:Boolean
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()
.
Example
This example gets the default microphone and checks whether it is muted.
var active_mic:Microphone = Microphone.get();
trace(active_mic.muted);
See also
Microphone.get()
,
Microphone.onStatus
Microphone.name
Availability
Flash Player 6.
Usage
active_mic
.name
:String
Description
Read-only property; a string that specifies the name of the current sound capture device, as
returned by the sound capture hardware.
Summary of Contents for FLEX-FLEX ACTIONSCRIPT LANGUAGE
Page 1: ...Flex ActionScript Language Reference...
Page 8: ......
Page 66: ...66 Chapter 2 Creating Custom Classes with ActionScript 2 0...
Page 76: ......
Page 133: ...break 133 See also for for in do while while switch case continue throw try catch finally...
Page 135: ...case 135 See also break default strict equality switch...
Page 146: ...146 Chapter 5 ActionScript Core Language Elements See also break continue while...
Page 808: ...808 Chapter 7 ActionScript for Flash...
Page 810: ...810 Appendix A Deprecated Flash 4 operators...
Page 815: ...Other keys 815 Num Lock 144 186 187 _ 189 191 192 219 220 221 222 Key Key code...
Page 816: ...816 Appendix B Keyboard Keys and Key Code Values...
Page 822: ...822 Index...