;

PDA

Click to See Complete Forum and Search --> : long music files


helpthenoob
11-01-2004, 10:19 AM
hi all, i am new and am wondering if anyone can help:) I have loaded a 3 minute mp3 file into one of my movies. I am trying to synch the action to the music. When i play the resulting .swf in internet explorer, the sync is OK, however when i play it in my standalone flash player the visuals move too fast for the sound. Is there an effective way of 'locking' the music to the visuals so that they always play at the same rate? i don't want to submit a movie that won't play correctly on a lot of machines. Thanks./

necromanthus
11-08-2004, 04:10 AM
"a 3 minute mp3 file" for online projects is a VERY bad idea !
Anyway ...
SA FlashPlayer and Browser Flash Plugin have different speeds.
The SA Flash Player works faster (in few words: shorter way to access system resources).
To synchronize music with a SWF file you have two options:
- NO ActionScript method: split the melody into few small pieces and tune up your movieclip (for each music piece set a keyframe as "Start Sound").
- ActionScript method: the music starts in the first keyframe,but you have to build a routine based on mySound.position instruction and few "check points" with gotoAndPlay(x).

Because I had other similar requests,I'll try to post an example on my KM section soon.
cheers