Join Paul Trani for an in-depth discussion in this video Adding music, part of Creating a First Web Site with Flash Professional CS5.
Adding audio to your site can really make for a better experience for the user.…Just keep in mind that when it comes to music not to overdo it.…I can easily add music that plays the entire time of the site, but quite frankly…my experience is that people often go for the mute button before long.…So, what I want to do is just add a quick little music tag at the beginning of this site.…The first step is going to be adding a new layer, and I will call this new layer music.…
I will drag that beneath the Actions layer and on this layer is where I will…import my audio file.…So, I am going to Import > Import to Stage, and I can locate this ChimeIn.wav file.…Notice I can also import other sound formats as well such as MP3, that is…available, but in this case, it's just this WAV file. I'll click Open.…Remember I selected Import to Stage, but it doesn't appear on my Stage, and…that's because it actually just puts it in the Library.…
So, as you can see right here there is my ChimeIn.wav.…But again, I can select that file.…
- Understanding web design
- Creating buttons and web graphics in Photoshop
- Formatting text with the Text Layout Framework
- Using the Timeline
- Creating a custom looping animation
- Loading images in a gallery
- Creating invisible buttons
- Adding music and video to a site
- Customizing video playback controls
- Optimizing and publishing a web site
Skill Level Beginner
Q: I followed all the steps and suggestions in the "Adding a progress bar" video, but when I add the progress bar to my web site, I can’t remove it once the index.swf file loads up. The progress bar remains on the homepage and the rest of the pages. How do I make it disappear once the site loads?
A: To make it disappear, just make sure the progress bar is only in frame 1. If it’s on its own layer, then right-click on the 2nd frame in that same layer and select "Insert Blank Keyframe." That will make it disappear.
Q: Despite following the steps in the "Adding a progress bar" video, I cannot figure out how to keep the progress bar from appearing on a movie that has finished loading. How can I make the progress bar disappear?
A: Just add the red line below to the preloader.fla file. This will make the progress bar invisible: