Code a Simulated Spectrum Analyzer for visual Audio representation using Adobe Flash and ActionScript. The analyzer accepts a spectrum object to define how the audio bars will react. This means you can adjust it to simulate different genres of music or audio levels.