[]有没有SoundChannel的示例?
SoundManager.playSound(_url, _loop, new Handler(this, _fn));
var channel:SoundChannel = new SoundChannel();
SoundManager.addChannel(channel);
_btn.on(Event.CLICK, this, soundClick);
function soundClick(evt:Event){
alert("channel.isStoped:"+channel.isStoped);
if (channel.isStoped){
channel.play();
}else{
channel.stop();
}
}
channel.isStoped输出是:undefined
var channel:SoundChannel = new SoundChannel();
SoundManager.addChannel(channel);
_btn.on(Event.CLICK, this, soundClick);
function soundClick(evt:Event){
alert("channel.isStoped:"+channel.isStoped);
if (channel.isStoped){
channel.play();
}else{
channel.stop();
}
}
channel.isStoped输出是:undefined
没有找到相关结果
已邀请:
要回复问题请先登录
1 个回复
Laya_XS
赞同来自: