View Full Version : [AS3] Audio help

11-23-2009, 04:46 PM
i am creating this game, where i need 2 audio files to play at the same time,
i am just experimenting at the moment, and i am using this code to play 2 mp3s

var mySound:Sound = new song();
var mySound2:Sound = new song2();
var myChannel:SoundChannel = new SoundChannel();
myChannel = mySound.play();
myChannel = mySound2.play();

however the 2 mp3s are not in time with each other, is there anyway round this,

thanks in advance

11-23-2009, 05:19 PM
If you need exact mixing, you have to do it yourself. It's not that hard, just simple addition.

11-23-2009, 05:27 PM
hey thanks for the reply, what do you mean by that? sorry but i am quite new to this