Link to home
Start Free TrialLog in
Avatar of isaacr25
isaacr25

asked on

Adding sound to a flash site

Hello,
    Can someone send me a link to a tutorial on adding sound to a flash website? Here is what I need:

-I need to play one song (one audio file) which loops.
-I need to have a button to turn the sound on or off.
-It would also be nice to have the "equalizer bars" which stop moving when the sound is off... this part is not absolutely necessary.

Thanks in advance!
ASKER CERTIFIED SOLUTION
Avatar of FLAASHER
FLAASHER
Flag of Saudi Arabia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
the best tutorial is flash help file   go through it    search for sound class
example

var s:Sound = new Sound()
s.loadSound("//url//song.mp3");
s.start(loop);

write this on ur first frame;  give the correct url
Avatar of isaacr25
isaacr25

ASKER

Guys,
     I can't seem to get a handle on this sound stuff. Can you send me any more info on the simplest way to acheive what I need? Thanks.
And also, the criteria has changed slightly:

-I need to play two songs (two audio file) in the site.
-I need to have a button to turn all sound on or off.
-I need to have buttons to choose between the two songs to play.

Any thoughts and help will be very much appreciated. Thanks!
again and again


check m frist link again


it isvery goood nd it is exactly waht u need



FLAASHER