Hi,
I’m trying to develop a game that will use sound to move an mc. I want to be able to store where the level of the sound bar is after 3 seconds. Depending on how loud the player shouts the more power they will get.
This is what I have so far:
// set up microphone object
_root.createEmptyMovieClip(“myAudio”, 1001);
_root.myAudio.attachAudio(Microphone.get());
_root.myMic = Microphone.get();
// set up Interval to listen for microphone levels
micInterval=setInterval(function() {
// update mic level
_root.micLevel.bar._xscale=_root.myMic.activityLevel;
Just not sure on where to go from here. I tried searching the forums, but I’m not sure what to look for. Thanks in advance for any help.