Flash and ActionScript
- by Sonesh Dabhi
I am not a flash/actionscript developer and I need to achieve a very small task in flash . I need to display user audio input level in flash . I found that I can do that using action script as below . I also checked this link . I have no idea what tools I need to use and generate a swf file . Any help highly appreciated .
this.mic = Microphone.getMicrophone();
this.micTimer.addEventListener(TimerEvent.TIMER,this.timerHandler);
this.micTimer.start();
this.mic.setLoopBack(true);
return;
public function timerHandler(event:TimerEvent):void
{
this.micVolume.setProgress(this.mic.activityLevel,100)
return;
}