What’s the best way to syncronize music with the imagery in a flash movie?
I’ve been timing the length of my sound clips and dropping them into key frames that correspond with the movie, but I’m finding they don’t quite coordinate as intended :-\
Is there a better way using action script or streaming audio? I’ve never tried this, is it difficult? Or better yet- how can I do it?
Well I don;t believe you can stream audio in Flash 5. But you can attach it and control it through AS:
Import the sound
Open your library and find the file. Right click and go to linkage. Check the first and last checkbox options, and give the sound a name “Sound”
Go to a blank keyframe and assign the frame these actions
x = new Sound();
x.attachSound("Sound")
x.start(0,1);
to stop it
x.stop();
You can apply these actions in keyframes to corresponde with your movie.
I am making something verry similar to what you have axplained… heres how I have don it…
to make an assigned sound a streaming sound in flash 5…
1…create a new 15 frame movie.
2… insert a blank ceyframe at frame 5, add text to identify keyframes, and import the sound youd like to stream.
3…In the timeline, select frame 5
4… In the sound panel, fromthe sound pop-up menu, choose Scale.
5… From the synce pop-up menu, choose Stream.
6… To msee how the sound fits into the available time in your movie, click the sound panels edit button. ( when Synce is set to stream flash plays only as much of the sound as can fit in the frames that are available to it, so drag the bullet in the timeline until all of music is visible) you can then create the movies imagery to syncronize with music by building it around the peaks and troughs that you can now see in the music timeline…
good luck.