PDA

View Full Version : Sound time difference


fido_glc
11-05-2007, 11:18 PM
I made an intro to which I put some sound. When I test the movie works fine, when I open the swf it also works fine. But on my colleague's computer (swf open) the sound is shorter with about 2 seconds. What I mean is that the sounds finishes faster than the animation (they should both finish in the same time). The animation seems to be fine, the sound as well. We both have Flash players 9, I used Flash 8 to make the intro. Is this possible or is it just an error of ours ? What about if we have different flash players, me 9, him 8 ?

atomic
11-06-2007, 01:48 AM
Was your sound's sync set to "stream"? Are you both on the same platform?

fido_glc
11-06-2007, 04:39 PM
Was your sound's sync set to "stream"? Are you both on the same platform?
I used ActionScript. This is the code:

var introMusic:Sound = new Sound(this);
introMusic.attachSound("mp3_introMusic");

When the frame 30 is reached:

introMusic.start();

Do I need to set some settings ?

About platform, do you mean Operating System? We both have Windows XP.

atomic
11-06-2007, 04:50 PM
To maintaina a relative tight sync, the sound must be a timeline embedded sound, with it's Sync set to "stream", not a soundObject.

fido_glc
11-06-2007, 05:36 PM
To maintaina a relative tight sync, the sound must be a timeline embedded sound, with it's Sync set to "stream", not a soundObject.
If I do that, how can I control the sound volume ?

atomic
11-06-2007, 05:44 PM
Set up a _root.soundObject, and control the general volume through it!

Or embed your sound in a movie clip, and independently control the volume of another seperate soundObject, referenced to that clip.

fido_glc
11-11-2007, 02:08 PM
How do I setup a _root.soundObject ?

atomic
11-11-2007, 02:55 PM
Main timeline, first frame...

var my_globalSound:Sound = new Sound(_root);
my_globalSound.setVolume(50);

fido_glc
11-13-2007, 01:07 PM
Still not working. I actually noticed something. The intro animation on my computer lasts about 22 seconds but the same swf on my partner's computer lasts 25. Why is this difference with the same swf ?

atomic
11-13-2007, 02:02 PM
Can you provide a link to your .fla? Or attach it here?