
Код AS3:
...
_channel = _snSound.play(0);
...
var volume:Number = 0.5;
trace(" set value = ", volume)
_channel.soundTransform.volume = volume;
trace(" apply value = ", _channel.soundTransform.volume)
// return
// set value = 0.5
// apply value = 1

Код AS3:
...
_channel = _snSound.play(0);
...
var volume:Number = 0.5;
trace(" set value = ", volume)
var soundTarnsform:SoundTransform = new SoundTransform(volume);
_channel.soundTransform = soundTarnsform;
trace(" apply value = ", _channel.soundTransform.volume)
// return
// set value = 0.5
// apply value = 0.5
Бред какой-то получается! Почему я напрямую не могу задать SoundChannel уровень звука??? Может кто-то объяснить?
