7 Replies Latest reply on Nov 11, 2011 3:27 AM by artguate

    Flash AEC , FlashPlayer 11 , FP 11 , FlexSdk 4.5.1

    CriptCode932

      Hello , i ran into some dificulties while trying to implement aec in flash

       

      1. I'm using Adobe Flash Builder 4.5

      2. In projectX -> ActionScriptCompiler i have selected "Use a specific sdk " -> 4.5.1 (build 21328)

      3 In C:\Program Files\Adobe\CS5.5\Adobe Flash Builder 4.5\sdks\4.5.1\frameworks\libs\player i made a folder 11.0 and i copied there the globalplayer.swc version 11

      4. In projectX -> ActionScriptCompiler i have selected "Use a specific version " -> 11.0.0

      5. In projectX -> ActionScriptCompiler i have inserted "-swf-version=13" (i have also tried "-swf-version=12" ) in "Aditional compiler argument"

       

      The portion of code that poses problemes is:

       

          var boolMicIsEnhanced:Boolean = false;

          try{

              microphone = Microphone.getEnhancedMicrophone(Microphone.names.indexOf(microphoneL abel));

              boolMicIsEnhanced = true;

              trace("\n\n\tEnhanced mic");

          }catch(err:Error){

              trace("\n\n\tError while trying to get enhanced device");

              trace("\tERRmsg: " + err.message);

              microphone = Microphone.getMicrophone(Microphone.names.indexOf(microphoneLabel));

              boolMicIsEnhanced = false;

          }

         

      This always prints:

          Error while trying to get enhanced device

          ERRmsg: Error #1006: getEnhancedMicrophone is not a function.

       

      I'm using Flash Debugger version 11.0.1.152 in FireFox and Chrome

       

      Can someone please share an idea or a solution ?