since there are a lotta ways to make a menu (sprites, screen region detection, 3d objects, etc, i'll offer a general guideline:
assuming you have a way of detecting when the mouse is hovering over a menu option (we'll call it CurrentHover) or not (ie, DeadSpace), store that value as a variable... ie, LastHover
do
...
if CurrentHover <> LastHover
if CurrentHover = DeadSpace
if Sound Playing (HoverSound) = 1 then stop sound HoverSound
LastHover = 0
else
play sound HoverSound
LastHover = CurrentHover
endif
endif
...
loop
that's pretty broad but should give you the idea. without your menu code, we can't be more specific. hope this helps
edit: grrr. i gotta run or i'd add to this to make it more clear... hopefully someone picks up where i left off (or offers a better explanation). good luck!
Virtual Nomad @ California, USA
AMD Phenomâ„¢ X4 9750 Quad-Core @ 2.4 GHz . 8 GB PC2-6400 RAM
ATI Radeon HD 3650 @ 512 MB . Vista Home Premium 64 Bit