strange…nothing happens here in chrome with flash 10. just music and nonactive tiny cubes rotating on a plane!
Branden Hall said, on February 20th, 2010 at 4:36 am
If there are multiple SWFs open at once Flash isn’t allowed to do ComputeSpectrum (which is how we get the sound frequency data). This is because all open SWFs share the same SoundMixer and thus letting one SWF read another SWFs spectrum data is technically cross site scripting… which is a big security no-no.
Hello, I update the demo with a SoundMixer.areSoundsInaccessible() that displays a warning if the ComputeSpectrum is unavailable, I should know better! I also added some comments and cleaned up the source code a bit.