![]() |
|
||||||||||
|
|||||
|
Регистрация: May 2008
Сообщений: 63
|
public function removeAllSounds():void { SoundMixer.stopAll(); var thisSoundChannel:SoundChannel; while (mSoundChannels.length) { thisSoundChannel = mSoundChannels.pop() as SoundChannel; if (thisSoundChannel) { thisSoundChannel.stop(); // остановка звука thisSoundChannel.removeEventListener(Event.SOUND_COMPLETE, OnSFXComplete); } } soundTransforms.splice(idx, soundTransforms.length); // soundTransforms = []; } |
![]() |
Часовой пояс GMT +4, время: 17:03. |
|
|
« Предыдущая тема | Следующая тема » |
|
|