How to add sound to a button in flash

May 23, 2010

Sound

You can associate sounds with the different states of a button symbol. Because the sounds are stored with the symbol, they work for all instances of the symbol.

  1. Select the button in the Library panel.
  2. Select Edit from the Panel menu in the upper-right corner of the panel.
  3. In the button’s Timeline, add a layer for sound (Insert > Timeline > Layer).
  4. In the sound layer, create a regular or blank keyframe to correspond with the button state to which you want to add a sound (Insert > Timeline > Keyframe or Insert > Timeline > Blank Keyframe).For example, to add a sound that plays when you click the button, create a keyframe in the frame labeled Down.
  5. Click the keyframe you created.
  6. Select Window > Properties.
  7. In the Property inspector, select a sound file from the Sound pop-up menu.
  8. Select Event from the Sync pop-up menu.To associate a different sound with each of the button’s keyframes, create a blank keyframe and add another sound file for each keyframe. You can also use the same sound file and apply a different sound effect for each button keyframe.
, , , ,

Trackbacks/Pingbacks

  1. How to add sound to a button in flash | Flash tutorials | Flash … « action script - May 23, 2010

    [...] Adres URL: How to add sound to a button in flash | Flash tutorials | Flash … [...]

  2. How to add sound to a button in flash | Flash tutorials | Flash … | Flash Designers - May 23, 2010

    [...] Here is the original:  How to add sound to a button in flash | Flash tutorials | Flash … [...]

  3. A new chapter in storybooks | dress up bolg - May 23, 2010

    [...] How to add sound to a button in flash | Flash tutorials | Flash … [...]

  4. Tweets that mention How to add sound to a button in flash | Flash tutorials | Flash video tutorials | Flash actionscript | flash animation | flash menu | flashconf.com -- Topsy.com - May 24, 2010

    [...] This post was mentioned on Twitter by Flash Tutorials, J. Anna. J. Anna said: Flash Tutorial: : How to add sound to a button in flash http://www.flashconf.com/flash-sound/how-to-add-sound-to-a-button-in-flash/ [...]

Leave a Reply