MACROMEDIA FLASH 8-USING FLASH Use Manual page 319

Using flash
Table of Contents

Advertisement

4.
In the Play Sound dialog box, enter the instance name of the sound you want to play, and
click OK.
5.
In the Behaviors panel under Event, click On Release (the default event) and select a mouse
event from the menu. If you want to use the
To stop a sound using a behavior:
1.
Select the object, such as a button, that you want to use to trigger the Play Sound behavior.
2.
In the Behaviors panel (Window > Behaviors), click the Add (+) button.
3.
Select Sound > Stop Sound.
4.
In the Stop Sound dialog box, enter the linkage identifier and the instance name of the
sound you want to stop, and click OK.
5.
In the Behaviors panel under Event, click On Release (the default event) and select a mouse
event from the menu. If you want to use the
To stop all sounds using a behavior:
1.
Select the object, such as a button, that you want to use to trigger the Stop All Sounds
behavior.
2.
In the Behaviors panel (Window > Behaviors), click the Add (+) button.
3.
Select Sound > Stop All Sounds.
4.
In the Stop All Sounds dialog box, click OK to verify that you want to stop all sounds.
5.
In the Behaviors panel, under Event Click On Release (the default event) and select a
mouse event from the menu. If you want to use the
unchanged.
event, leave the option unchanged.
OnRelease
event, leave the option unchanged.
OnRelease
event, leave the option
OnRelease
Controlling sound playback using behaviors
319

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents