/Flash/ Add music to your website

17/04/2008 | Filed under Develop > Flash

Looking to add audio to a site? Paul Wyatt shows you how to create an MP3 from a WAV file using Sorenson Squeeze, and link it up to a Flash movie via ActionScript

The ability to add and manipulate sound in Flash CS3 is one of the software’s highlights, and audio adds an incredible amount to a website or animation. Just try watching a classic title sequence, such as the one in Psycho, with the sound turned off; it’s not nearly as effective and it elicits no emotive response from the viewer. Sound helps set the tone, and in this tutorial’s example site, it also helps to sell records!

The problem with audio and Flash is that if you simply embed a sound file into your output SWF, it will bloat enormously. But don’t worry, there’s a great way to get around this. You take a WAV audio file, turn it into an MP3, and make sure it loads in and plays by using ActionScript to link it to a Flash movie.

Finally, to help you make the most of your own audio creations, I’ve asked DJ, top producer and BBC 6 tune-mixer, Stephen Raynes, to give us his expert tips on getting the most out of self-produced audio tracks.

About the author:

Name: Paul Wyatt
Site: www.paulwyatt.co.uk
Areas of expertise: Web design, motion graphics and video
Clients: Lycos, Universal, Five
Who’s the fastest: Speedy Gonzales or Road Runner? Speedy Gonzales

Click here to download the support files
Click here to download tutorial PDF

 

Comments

B. from Berlin / 21/04/2008 / 12:07 / http://www.anwalt-seiten.de

It's a very good presentation of that topic!
BUT doesn't most people browse at work? There's nothing like awkward than my business PC starting to play website-music...
Use that power with care :-)

Houston Web Development / 28/04/2008 / 04:00 / http://www.nuesion.com

Things can get real tricky when adding music to a site. Music artists do lean towards wanting more music on their site then others, rightfully so. To keep music fluid on each page you often need to have the whole site in flash. Its very annoying to have a flash movie reload in the header or somewhere on each new page, causing the music to restart up each time a new page is pulled up. Great advice though.

Thokozani / 06/05/2008 / 13:51 / http://www.myfirstmic.co.za

good day

im building a site with flash mp3 for a hiphop band.....what i need to know is it possible for the player above to have an application that allows users the ability to vote for their favourite track directly on the playlist, if so how does one go about doing just that............

love your mag even though it costs an arm, a leg, two eye balls and an ear lobe here in South Africa but i still will get it........Good times

Add a comment

Your name:


Your email: (Not displayed)


Your website: (optional)


Enter your comment here:

Issue 179

.net issue 179 is now on sale! Craft better sites, be inspired by the next generation of web design trends, and learn how to create the perfect newsletter. Find out more ...

» Subscribe and save 40%
» Buy issue 179
» Get a corporate subscription
» Join us on Facebook



ADVERTISEMENT FEATURE

Let your creativity fly

Adobe® Creative Suite® 3.3 Design Premium now includes Acrobat® 9 Pro and Fireworks® CS3, a lower price and a bonus training DVD worth £50.
 
Win with .net

The latest competitons from .net magazine

Signup for our newsletter

Enter your email address and start receiving our new-look weekly email newsletter!

 
 

Rackspace Managed Hosting

TopHosts

actinic

.net photos powered by:
Canon