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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to put actionscript code for a button? 6 139
YouTube Link 10 363
how can flash builder 4.X version make use of java 8 5 351
Converting CFGRID from Flash to HTML in Coldfusion 1 101
I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

830 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