Creating and displaying a static sound wave


I am new in flash and I need to create a flash which will display a sound wave graph based on the song provided. The graph needs to appear once the flash is loaded and it is a static graph.

Basically, I need to do something like the audio editor which display the whole song wave graph at once.

Please provide me some examples or guidance on how to do it. Thanks a lot.