O'Reilly logo

Microsoft Silverlight 4 Business Application Development Beginner's Guide by Frank LaVigne, Cameron Albert

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action - adding interactive sounds

Let's add subtle audio cues to our site navigation project to provide a slightly more engaging experience for the user. We're going to add a short sound effect that plays when the user moves their mouse over any of the buttons, by completing the following steps:

  1. Open up the CakeNavigationButtons solution in Expression Blend that we created in Chapter 2.
  2. Let's add a sound to the project by right mouse clicking in the CakeNavigationButtons project and choosing Add Existing Item... as in the screen shot below:
    Time for action - adding interactive sounds
  3. Browse to the twang.mp3 file and add it to the project.
  4. Expand the items in the Objects and Timeline ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required