Smolkin
12.12.2005, 12:37
Хочу у разныз звуков разную громкость.
Пишу:
var music_sound:Sound = new Sound();
music_sound.attachSound("music");
var gul_sound:Sound = new Sound();
gul_sound.attachSound("gul");
gul_sound.start(0,999999);
music_sound.start(0,999999);
gul_sound.setVolume(100);
music_sound.setVolume(30);
Все звучит с громкостью 30, что не так написал?
И еще вопрос Как Loop поставить вместо 999999.
Заранее Спасибо!
Пишу:
var music_sound:Sound = new Sound();
music_sound.attachSound("music");
var gul_sound:Sound = new Sound();
gul_sound.attachSound("gul");
gul_sound.start(0,999999);
music_sound.start(0,999999);
gul_sound.setVolume(100);
music_sound.setVolume(30);
Все звучит с громкостью 30, что не так написал?
И еще вопрос Как Loop поставить вместо 999999.
Заранее Спасибо!