Many users have asked us how they can implement sound into DHTML Menu Builder
and we found a rather simple way.
In this example you'll notice that when you move your mouse over the menu items
a sound is played.
This sound is actually a Flash movie being played every time a menu item is selected.
Note that this will only work under Internet Explorer.
Follow these instructions to setup the sound support for your menu items:
First of all you will need to provide one or two Flash movies which play
a sound when the movie is played.
The first frame of the movie should be simply an action to play a sound.
Next, insert the code for the movies in your HTML documents.
Here's how the code should look like:
autostart: this must be set to false so the sound is not played when the movie is loaded.
name: this must be set a unique name which identifies
this movie
Next, download and install the AddIn.
(See the link at the bottom of the page)
Configure your project to use the AddIn: Click File->Project Properties->Advanced
and select the AddIn from the list.
Now you need to configure the AddIn:
Click on the AddIn Parameters button ()
Set the MenuItemSound and ToolbarItemSound parameters to the name
of the Flash movies.
If you're going to use just one movie, then use the name of that movie
for both parameters.
In this sample we used two movies. One of the movies is called "Sound1"
and the other "Sound2".
Finally, simply compile your project (Tools->Compile)
Note that this AddIn will not work properly if the "Code Optimization" setting
is set to "max".