;

PDA

Click to See Complete Forum and Search --> : Sound Finished


pbrad
05-19-2002, 04:40 PM
Could somebody please tell me the code for having the player wait on a frame until a particular sound file has finished playing before proceeding to the next frame?
Thanks

necromanthus
05-19-2002, 05:37 PM
The only way to solve your problem is to measure (with other utility) the sound length and insert some frames after the keyframe that starts the sound.
Pay attention at the movie speed in order to calculate the number of added frames!

pbrad
05-19-2002, 05:46 PM
Thanks,
The sound files are audio narrations of different lengths. I guess that I could make each audio chunk into a swf file and load them in. That way I could check if the last frame of the swf has been reached yet and then stop looping. Any other ideas?

johnie
05-19-2002, 06:05 PM
Either script it like you intend or simply look at the length of the sound and then add enough tweens by looking at the sound and actions view to get it to time right.

Either method will work.