Adding sound

Hi there,

We’ve built a chat client in flash MX and we’d like to incorporate a sound event on every new message that’s received. Need help on what to do. Any suggestions.

Thanks in advance
Cheers
menon

Hello,

There are two ways to add sounds on flash.

One, you can import the sound to the library then added to the timeline by just dragging it to the workspace.

Two, you canuse actionscript to add in any movieClip event or button event you want in this manner.

   mySound = new Sound();
   mySound.loadSound("sound.mp3",1);

the above lines are taken from kirupa’s tutorial on loading found in the advanced tutorials for flash MX.