Показать сообщение отдельно
Старый 21.07.2008, 15:35   #2
jimon
 
Сообщений: n/a
Ответ: Проблема с музыкой

читаем справку к PlayMusic :

You can't 'preload' the audio like you can a sound sample via the LoadSound command. Every time you call the PlayMusic command, the file is reloaded and played. This means that if you use the command while some graphics are moving on-screen, you may get a slight pause when the hard drive seeks and grabs the music file. To avoid this, you might want to use the PlaySound/LoopSound commands instead.
тоесть когда команда вызывается то она загружает файл в память что может вызвать тормоза
в коде ChanMus глобальная переменная ?
 
Ответить с цитированием