Flash and ActionScript

Posted by Sonesh Dabhi on Stack Overflow See other posts from Stack Overflow or by Sonesh Dabhi
Published on 2012-09-07T21:32:28Z Indexed on 2012/09/07 21:38 UTC
Read the original article Hit count: 279

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;
}

© Stack Overflow or respective owner

Related posts about actionscript-3

Related posts about flash