I'm using the same sound in several movie clips. For some reason the first time the sound is played in one movie clip, it's softer than the rest of them. Any ideas why this is? Any ideas how to fix it?
I'm using the same sound in several movie clips. For some reason the first time the sound is played in one movie clip, it's softer than the rest of them. Any ideas why this is? Any ideas how to fix it?
how are you importing the sounds?
There are only a couple sounds, so they are imported into the library. I'm not familiar with how to load them in externally. If that would decrease my .swf size I'd love to know how.
I figured out a work around to my sound proble for now. I just added a split second of dead space before the sound so that when it repeats and cuts off, you won't hear the beginning of it play before it stops.
if they are mp3 files this is as 2.0
in as3.0PHP Code:var snd:Sound = new Sound();
snd.loadSound("your.mp3",true);//true makes them play when loaded, remove "true" if you don't want the sound to play when loaded
PHP Code:var snd:Sound = new Sound();
snd.load (new URLRequest("your.mp3"));
var snd_channel:SoundChannel = new SoundChannel();
snd_channel = snd.play();//remove this line to keep sound from playing on load