Home arrow Flash arrow Page 4 - Flash 101 (part 6): The Final Countdown

Boom! - Flash

In the final part of our introductory Flash tutorial, find outhow to add sound to your Flash movie, organize your movie into scenes,share symbols across different movie clips, and import GIFs and JPEGs intoyour animation sequence.

TABLE OF CONTENTS:
  1. Flash 101 (part 6): The Final Countdown
  2. The Wave
  3. Sound Bites
  4. Boom!
  5. Squeezing It All In
  6. Pretty Pictures From Elsewhere
  7. The Scenic Route
By: icarus, (c) Melonfire
Rating: starstarstarstarstar / 38
January 31, 2001

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement
In addition to playing back sound files as the movie runs, Flash also allows you to play sounds in response to user action. The most common example of this is attaching sound files to Flash buttons, so that a different sound plays depending on button state. Take a look at this example, which demonstrates how you can play a different clip for "hover" and "click" events.



How did I do this? Not too hard, actually - create a Flash button, and add a new layer to the Timeline while in symbol-editing mode. Then simply insert keyframes corresponding to the Up, Over and Down states on this new layer, and drag different sound files from the Library for each state.

For example, if you'd like a specific sound to play when the mouse pointer moves over the button, you could insert a new keyframe for the Over state, and drag a sound file on to the Stage for that keyframe.



Make sure that you have Event selected for the Sync option on the Sound panel, and try it out.

You can add sound effects, and manipulate the sound clip with the editing control, here too.

This article copyright Melonfire 2001. All rights reserved.

 
 
>>> More Flash Articles          >>> More By icarus, (c) Melonfire
 

blog comments powered by Disqus
   

FLASH ARTICLES

- An Overview of Flash and ActionScript
- Building Web Forms In Flash
- Building Data-Driven Flash Movies
- Flash 101 (part 6): The Final Countdown
- Flash 101 (part 5): Spiralling Out Of Control
- Flash 101 (Part 4): Don't Touch Me!
- Flash 101 (part 3): Bouncing Around

Developer Shed Affiliates

 



© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap

Dev Shed Tutorial Topics: