0 Replies Latest reply on May 30, 2006 12:57 PM by bruhol

    Micropohone activated movieclip

      Im struggling with my actionscript which does something like what want but not at the right time. I want the animation to run when a sound is detected from the microphone, not just detect the microphone. I think I need to use silenceLevel or ActivityLevel but I dont know how. Heres my code

      var active_mic:Microphone = Microphone.get();
      this.createEmptyMovieClip("audio_mc", this.getNextHighestDepth());
      //create an instance of the microphone object
      // and attach the microphone sound feed
      active_mic.onActivity = function(active:Boolean) {
      //when the microphone detects sound start the following function
      if (active) {

      Any help v much appreciated.