PDA

View Full Version : How to use MIcrophone to control Framerate?



Helen.N
June 11th, 2008, 04:43 AM
Hello everyone, I tried take the advantage of dynamic frame rate of as3, but my terrible understanding of as3 has given me a huge headache.:stare::stare:

I imported an external swf by using the following script
------------------
var request:URLRequest = new URLRequest("animation.swf");
var loader:Loader = new Loader()
loader.load(request);
addChild(loader);
------------------

I tried to get Microphone and framerate work together in order to use the sound to control the speed of the animation. anyone can give me a hand after my numerous futile attempts?:asleep:

thanks! xx

Helen

Helen.N
June 11th, 2008, 12:14 PM
anyone can help? :crying:

SmoothDime
June 11th, 2008, 10:49 PM
you can monitor the sound with i think the SoundTransform class.

then you can set the framerate using the Stage class.