hi, i have declared 3 sound objects in my root:
pickgit = new Sound();
pickgit.attachSound(“pickgit”);
pickgit.stop(“pickgit”);
and am calling them from another mc:
var soundonce:Boolean = false;
function runpick() {
_root.pickgit.start(0, 100);
}
function runslow() {
_root.slowgit.setPan(100);
_root.slowgit.start(0, 100);
}
function runslower() {
_root.slowergit.setPan(-100);
_root.slowergit.start(0, 100);
}
onEnterFrame = function () {
if (_currentframe>=321 && _currentframe<=1301) {
if (soundonce == false) {
runpick();
runslow();
runslower();
soundonce = true;
}
}
}
problems are arising with the fact that i am setting the pan of two different sounds and it is causing it to default to -100. does anyone know why this is? and is there a solution other than putting each sound in an mc?
cheers