主题:  关于背景音乐循环播放的问题?

friend_5d

职务:普通成员
等级:1
金币:0.0
发贴:30
注册:2001/10/28 22:50:09
#12002/7/23 20:48:52
我想让背景音乐循环播放,但是不是需要在每一帧发送playbgmusic?
code:
on startmovie
playbgmusic
end
on playbgmusic
if not soundbusy(2) then
sound playfile 2,the mvoiepath&"sound\2.wav"
end if
end
有没有其它方法?




steven5d

职务:普通成员
等级:1
金币:0.0
发贴:63
注册:2001/6/11 12:06:58
#22002/7/24 8:59:50
这么累干嘛?在Cast库里选择该声音演员,看它的属性,把Loop那一项钩上就是了!



friend_5d

职务:普通成员
等级:1
金币:0.0
发贴:30
注册:2001/10/28 22:50:09
#32002/7/24 9:08:48
多谢!那是没有其它办法来直接调用外部的某个特定的声音(循环)了。



我是小马

职务:普通成员
等级:3
金币:17.0
发贴:794
注册:2000/11/13 14:56:59
#42002/7/24 10:29:23
可以用on idle函数,在影片剧本中输入下面的代码:
on idle
if not soundbusy(2) then
sound playfile 2,the mvoiepath&"sound\2.wav"
end if
end