7.
In the Property inspector, select a sound file from the Sound pop-up menu.
8.
Select Event from the Synchronization 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. For more information, see
the sound-editing controls" on page
Using sounds with Sound objects
You can use the Sound object in ActionScript to add sounds to a document and to control
sound objects in a document. Controlling sounds includes adjusting the volume or the right
and left balance while a sound plays. For more information, see "Creating sound controls" in
Learning ActionScript 2.0 in Flash.
To use a sound in a Sound action, you assign an identifier string to the sound in the Linkage
Properties dialog box.
To assign an identifier string to a sound:
1.
Select the sound in the Library panel.
2.
Do one of the following:
Select Linkage from the options menu in the upper right corner of the panel.
Right-click (Windows) or Control-click (Macintosh) the sound name in the Library
panel, and select Linkage from the context menu.
3.
Under Linkage in the Linkage Properties dialog box, select Export for ActionScript.
4.
Enter an identifier string in the text box, and click OK.
About accessing ID3 properties in MP3
files with Flash Player
Macromedia Flash Player 7 and later supports ID3 v2.4 and v2.4 tags. With this version,
when you load an MP3 sound using the
tag properties are available at the beginning of the sound data stream. The onID3 event
executes when the ID3 data is initialized.
316
Working with Sound
317.
or
attachSound()
loadSound()
"Using
method, the ID3
Need help?
Do you have a question about the FLASH 8-USING FLASH and is the answer not in the manual?