View Full Version : Playing sound upon opening of image

12-17-2008, 08:03 PM
I would like to know how to add and change the behavior of sound.

I have went to behaviors-add action-deprecated-sound-selected sound (wav) file.

The problem is, the sound plays once but the quicktime (I think) dialog box stays open, therefore it is stuck at that point.

What I am trying to do is to have a shutter sound when a viewer clicks on a image, without any visual of it. Just the image (eg hawk photo) should show.

12-17-2008, 09:56 PM
You need to use Flash for this. Remember sound can be quite annoyig on the web, so use with care.

12-18-2008, 03:31 PM
Thank you for your response.

I don't know much about flash.

Can someone direct me to somewhere I can learn the basics of how to use it in dreamweaver esp. in regards to sound.

12-24-2008, 12:21 AM
Lynda.com is a great site to teach you Flash.

This is very easy to do though, I have attached a Flash CS4 file for you to show you how easy this is to setup.

The code could be made shorter but i've kept it easy to understand.

Hope this helps you.

12-25-2008, 06:05 PM
Thank you for the reply!

I will look into the Lynda.com site for a flash tutorial.

However the flash file you sent gives me an "unexpected file type" error while tryiing to open it up in Flash CS3.


12-26-2008, 08:40 PM
Yes that because its a Flash CS4 file has stated, see attached its now a CS3 file.