Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Adding sound to a flash site

Posted on 2006-11-16
5
Medium Priority
?
162 Views
Last Modified: 2010-04-03
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!
0
Comment
Question by:isaacr25
  • 2
  • 2
5 Comments
 
LVL 13

Accepted Solution

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


http://www.kennybellew.com/tutorial/


FLAASHER
0
 
LVL 4

Expert Comment

by:danieldear
ID: 17977501
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
0
 

Author Comment

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

Author Comment

by:isaacr25
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!
0
 
LVL 13

Expert Comment

by:FLAASHER
ID: 18062240
again and again


check m frist link again


it isvery goood nd it is exactly waht u need



FLAASHER
0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Question has a verified solution.

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

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
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…
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

578 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