|
-
damn, im smooth
streaming sound messes up (seen before, but never answered)
so, i have this purdy big fla (flash mx 2004) running, which is spread out over several scenes.
every once in a while, i have a sound or song play that syncs up with something that happens in the movie. i'll have a track playing in the first scene and another one on the third or seventh, etc. plays out beautifully when i test the scenes as separat swfs, and the same when i view a live preview in the timeline.
however, when i publish the entire movie, things mess up.
the first scene or two plays fine, but the sounds after that begin playing way too early. sometimes a few frames too early, sometimes entire scenes too early.
all of my sounds are set to stream.
i've seen similar questions asked here before, and just read through many of them, but most seem to be unresolved (or simply don't apply to me).
any help, please? its really killin me
i'm not new to action scripting. i'm just bad at it.
-
Senior Member
Hi
Maybe some use to you.....
I had a similar problem with a project i was working on and found a solution
using...onSoundComplete ....function.
Meaning ....the next sound would only play if the sound before it had completed.....a quick example...
code: myMusic = new Sound(myMusicMc);
myMusic.attachSound("myMusic");
myMusic.start();
myMusic.onSoundComplete = function() {
trace("completed");
//do something
};

Note:This sound resides in the library and is called via a linkage name ("myMusic").....rather than being dragged onto the stage or placed in the timeline frames.
Last edited by hum; 12-13-2005 at 01:24 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|