17.6. Applying Effects to Sounds

Problem

You want to apply effects such as panning and fading to your sounds.

Solution

Select the keyframe with the sound, and choose from the Effect menu.

Discussion

You can add envelope effects to your sounds in Flash by choosing from the Effect menu. First, select the keyframe to which you have applied the sound. Then, in the Property inspector locate the Effect menu, and choose the effect that you want to apply.

Flash offers you seven presets to choose from in the Effect menu:

None

This preset is the default value, and it plays both the right and left channels at 100% volume.

Left Channel

This preset plays the sound from the left channel only.

Right Channel

This preset plays the sound from the right channel only.

Fade Left to Right

This preset plays the sound such that it begins playing completely in the left channel, and ends playing completely in the right channel.

Fade Right to Left

This preset plays the sound such that it begins playing completely in the right channel, and ends playing completely in the left channel.

Fade In

This preset plays the sound such that it begins with the volume at zero, and it gradually fades in the sound until it reaches full volume by the time one-quarter of the sound has played.

Fade Out

This preset plays the sound such that it begins at full volume and plays at full volume for the first three-quarters of the duration of the sound. Then, over the last quarter, the volume gradually decreases until it reaches zero at ...

Get Flash 8 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.