snowwolfdog 华为手机SoundManager.playSound("GameSound/aa/bb.mp3", 1,new Handler(this,soundComplete,[aa,bb]));没有音效 上面执行完毕后 不会 执行soundCompleteprivate function soundComplete(aa,bb):void { //执行代码 }
qian 我这边测试没有问题的 public function LayaSample() { //初始化引擎 Laya.init(1136, 640); Laya.stage.bgColor="#ffcccc"; SoundManager.playSound("GameSound/aa/bb.mp3",1,new Handler(this,soundComplete)); } private function soundComplete():void { var te:Text=new Text(); te.text="hello"; Laya.stage.addChild(te); } } }