Have next problem:
var mic:Microphone = Microphone.getEnhancedMicrophone();
mic.setLoopBack(true);
And I don`t hear any sound... What is it? When I write Microphone.getMicrophone() all work right and I hear sounds.
Have next problem:
var mic:Microphone = Microphone.getEnhancedMicrophone();
mic.setLoopBack(true);
And I don`t hear any sound... What is it? When I write Microphone.getMicrophone() all work right and I hear sounds.
To work around it, try the following steps:
1) install debug player 10.3 or higher
It's very likely that you run it with NOT debug version of flash player, that is why you miss important warnings and exceptions.
2) allow users to accept access to the microphone:
3) compile a SWF with following option:
To use new features in 10.3, you have to publish the SWF to target "Flash Player 11". Otherwise getEnhancedMicrophone() function won't be visible.
[EDIT]
To make it work in Adobe Flash CS5 you need to:
3.1) go to
3.2) create a new folder with the name
FP10.3
3.3) copy the file and paste it in the following location:
3.4) rename the swc name to
playerglobal.swc
3.5) go to
3.6) create a copy of
FlashPlayer10_1.xml
and rename asFlashPlayer10_3.xml
3.7) open it in an editor and change according to below:
3.8) close the flash application if launched and restart the flash application
3.9) if you promptly followed everything you will Flash player 10.3 in the target players from the publish settings and change your target to
Flash Player 10.3
3.10) now import two statements:
[/EDIT]
Example:
Hope this helps.