Sound on / off Flash MX

Hi guys:
I’d like to produce a similar on/off button with the orange sound waves like in this site http://www.donshaw.com/. I love it, can I put the sound to loop in the first frame as an object sound, I have a 1 mins loop sound to go with it, how do I accomplish all of this?
Thanks a lot guys, I will post my website this week since it is ready to launch I just need to work with sound thing.

Jorge

Ive done something similar.
What i did was have a animation in my main movie (the sound waves) with an on and off button. Now i load the sound via a external movieclip and when the sound is loaded i tell it to go to and play the animation of the sound waves in the main movie.

I had an fla, i lost it though!!

well as far as the equalizer, do a search.
to attach sound

import your sound into your library, right click and go to linkage

give it the a name of bgSound. check off hte first and last checkboxes.

go to a blank frame in your timeline

[AS]
mySound = new Sound();
mySound.attachSound(“bgSound”);
mySound.start(0,999); // loop 999 times
[/AS]

crate 2 buttons, on / off

on actions
[AS]
on(release){
if(playing != true){
mySound.start(0,999);
playing = true;
}
}
[/AS]

off actions
[AS]
mySound.stop();
[/AS]