How to Add Flash Sound to a Web Page
After you publish your Flash sound as a SWF file, you’re ready to add it to your web page. Remember that this file is infinitesimally small, as in really, really tiny. No one will see the file, so you can tuck it in just about anywhere. Adding the file above the header section of the document is generally a good idea.
Honestly, who’s going to notice an extra pixel, especially when it’s the same color as the background?
These steps show you how to add the sound file:
In Dreamweaver, open the web page to which you’ll add the sound.
Position your cursor where you want to add the sound.
You can put the sound anywhere that’s a blank space — say, above the header or below the fold (you know, the stuff you can’t see in the browser window and need to scroll to).
The Select File dialog box appears.
Select the soundtrack SWF file and then click OK.
The Object Tag Accessibility Attributes dialog box appears. This information is used by visually challenged people using screen readers to access the page.
Enter the desired information and click OK.
Dreamweaver adds the soundtrack to the web page.
Save the file and preview it in all browsers used by your target audience.
The sound will start playing when the HTML document loads.