I want to display a real time activity bar for the microphone in flex. This is similar to the vertical bar one can see when flash settings dialog’s microphone settings tab is displayed.
Any built in component or link would help.
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Since no one ever responded I will answer this as to how I eventually did it.
I used an image and the microphone’s activityLevel attribute to show the the real time sound input to the microphone. Since this activityLevel is not bindable I had to use a timer.
Also do remember to get a valid value of activityLevel apart from calling
microphone = Microphone.getMicrophone();
also use
microphone.setLoopBack(true);
microphone.setUseEchoSuppression(true);
Otherwise the activityLevel value is -1
The second point is not mentioned in flex docs