Join Paul Trani for an in-depth discussion in this video Adding audio to buttons, part of Creating a Portfolio Web Site Using Flash CS4 Professional.
Audio is a great way to bring your site to life and add confirmation on tasks,…such as adding rollover and click sounds on buttons and that's what I'd like to…do this main menu is add some audio confirmation.…So when you roll over any one of these, you are going to hear like a highlight…sound and when you click on it, you are going to hear like a button click sound.…So the first thing I need to do is go to File and import my sound.…I am just going to import to my library and in the sound folder, which happens…to be in the Assets folder, go to sound and what I want to do is I want to add…the rollover.mp3 and the clickSwoosh.mp3,…but notice I can actually import all sorts of different sound formats.…
So just take a look at this list if you ever want to determine what sound can be imported.…Of course, MP3 is really popular, so that's what I'm using.…Okay, Import to Library and if I minimize the Properties panel, right in there,…you'll see the clickSwoosh and you'll see that rollover.mp3. All right.…
- Optimizing and publishing a Flash web site
- Designing a professional photo or video portfolio
- Adding button interactivity
- Adding functionality to portfolio thumbnails
- Displaying content with XML
- Adding audio to portfolio presentations
Skill Level Intermediate
Q: While following along with the course, I encountered the following error in Flash CS4:
1120: Access of undefined property content_mc.
What is causing this error?
A: Flash is looking for something (the content movieclip) with the instance name “content_mc” but it is not finding it. Select the content movieclip on the stage. In the Properties panel give it an instance name of “content_mc”. Make sure there are no spaces before or after. That should resolve the error.
Q: What is the best strategy for integrating 720/60P HD video into a website? Would creating a blank page that opens in full HD resolution be the best way to view the full quality of the HD video file?
A: A video file that large would just be unreasonable for most users to open. These settings are a good place to start: 600x400is
Bitrate level: 1,000kbps
Bitrate Encoding: VBR These are just recommendations, and can be modified to preference. Also keep in mind that in Flash, one of the buttons that can be added is a full screen button, which is part of the skins.