Adding sound to a flash site

Posted on 2006-11-16
Last Modified: 2010-04-03
    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!
Question by:isaacr25
  • 2
  • 2
LVL 13

Accepted Solution

FLAASHER earned 400 total points
ID: 17963354
this is a very good tutorial .... will guide u how to deal with sound object and control it :


Expert Comment

ID: 17977501
the best tutorial is flash help file   go through it    search for sound class

var s:Sound = new Sound()

write this on ur first frame;  give the correct url

Author Comment

ID: 18061793
     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.

Author Comment

ID: 18061801
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!
LVL 13

Expert Comment

ID: 18062240
again and again

check m frist link again

it isvery goood nd it is exactly waht u need


Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now