contents
 

project: Adding Sound to a Button

 
   
 

description: In this tutorial you will learn how to add sound to a button.

Files: The adding_sound.fla file is in the fla_files folder.

   
 
   
  step 1: Double-Click on the button to edit it. Click on the Add Layer icon and give the new layer a name. (Figure A)
   
  A
   
  step 2: Insert > Keyframe (F6) on the Over and Down states. (Figure B)
   
  B
   
  step 3: We'll use sounds that ship with Flash in this step. To access them navigate to Window > Common Libraries > Sounds.fla and test them as shown in the movie below. (Figure C) Click on the keyframe in the Over state and drag a sound onto the stage. Repeat for the Down state. Click on Scene 1 to return to the main timeline (not shown).
   
  C
   
  step 4: Command-Return and test your button. (Figure D)
   
  D
   
  step 5: There's one more step to really separate your button from the crowd... Next up: Making an Animated Button.
   
   
   
   
 
contents