2007년 9월 21일 금요일

flash sound play script



//backsound("01");
//배열순서에 대로,사운드 여기 사운드만 중단.
_global.soundloop_SetVolume = function(Value) {
//볼륨
soundPlayer.setVolume(Value);
};
_global.soundloop = function(s1,loopvalue) {
var soundList = new Array();
soundPlayer.stop();
for (var i = 0; i var tt = s1+".mp3";
// tellTarget("1.mp2");
soundList.push(tt);
}
totalSound = soundList.length;
soundPlayer = new Sound();
soundPlayer.loadSound(soundList[0], 1);
soundPlayer.onSoundComplete = function() {
if (soundNo soundNo++;
soundPlayer.loadSound(soundList[soundNo], 1);
soundPlayer.position;
}
};
soundNo = 0;
};
//soundarray = new Array("01");
//soundPlayer("01");
_global.sound = function (s1) {
stopAllSounds();
var tt = s1+".mp3";
//tellTarget("1.mp2");
soundList = [tt];
totalSound = soundList.length;
s = new Sound();
s.loadSound(soundList[0], 1);
s.onSoundComplete = function() {
if (soundNo soundNo++;
s.loadSound(soundList[soundNo], 1);
s.position;
}
};
soundNo = 0;
};
sound("001");
//soundloop("001",3);

//아 노력부족으로 인한
작업 속도 느림 ㅜㅜ

댓글 없음: