Flextrum! (for short)
Flextrum is an Actionscript 3 Spectrum Analyser (sound visualization, as you can see) for Flex.
/Flextrum – the Flex 3 Project (opens with an sdk or flex builder 3) – FlexSpectrum.mxml (the demo) – Usage.mxml (general usage) – AS3 all classes are fully documented + easy to use.
independant framerate and quality settings so it won’t be running at 100 fps for no reason.
component.addChild( new Flextrum(options..) ); – thats it
Supports all Sound
Works directly off the soundmixer, so it’ll work for any noise played (mp3s, streams, videos etc)
and yes, the white value can be changed as well
Perhaps “Sizable” is more suited, it doesn’t use percentage sizes, rather explicit pixels as you initialize, so yes it will be any size you want, no it won’t resize.
As you can see in the demo, most values can be changed at runtime on the fly, thus if your app has user selectable skins, themes or styles – you don’t need to worry about flextrum as it can be changed on fly with the rest of your application.
Uncompiled – 1 Class, 9.2kb of AS3 (inlcuding asdoc) Adds on approx 2kb to your flex app.
You need to consider flash player security policies when working with sounds/content from other domains or locally.
This can be ported to Flash/AS3, if a few people want it in flash then I’ll port it over and upload – just contact me.
Hope you enjoy,