大约有 6 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0034 秒)
...); xhr.once(Laya.Event.COMPLETE,this,completeHandler); xhr.once(Laya.Event.ERROR,this,errorHandler); xhr.send("res/monkey2.png","","get","arraybuffer"); function completeHandler(data){ //加载完成返回的data是arraybuffer; //.......这里处理我们加密的图片数据,假设我们的图...
来源: Laya2.0_文档 发布时间: 20210715
...r.once(Laya.Event.COMPLETE,this,this.completeHandler); xhr.once(Laya.Event.ERROR,this,this.errorHandler); xhr.send("res/a.png","","get","arraybuffer"); } private completeHandler(data:Object):void{ //加载完成返回的data是arraybuffer; //......这里处理我们加密的图片数据,假设...
来源: Laya2.0_文档 发布时间: 20210714
...tpRequest(); xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.send("res/monkey2.png","","get","arraybuffer"); } private function completeHandler(data:Object):void { //加载完成返回的data是arraybuffer; //.......这里处理我们加密的图片数...
来源: Laya2.0_文档 发布时间: 20210714
...s,Laya.Handler.create(this,this.onSuccess),Laya.Handler.create(this,this.onError)); } } private showMessage():void{ var tex:Laya.Text = new Laya.Text(); Laya.stage.addChild(tex); tex.text = "单击舞台播放和暂停"; tex.color = "#ffffff"; tex.fontSize = 100; tex.valign = "middle"; tex.align = "...
来源: Laya2.0_文档 发布时间: 20210715
...options, Laya.Handler.create(this, onSuccess), Laya.Handler.create(this, onError)); } function showMessage() { var tex = new Laya.Text(); Laya.stage.addChild(tex); tex.text = "单击舞台播放和暂停"; tex.color = "#ffffff"; tex.fontSize = 100; tex.valign = "middle"; tex.align = "center"; tex.si...
来源: Laya2.0_文档 发布时间: 20210714
....getMedia(options, Handler.create(this, onSuccess), Handler.create(this, onError)); } } private function showMessage():void { var text:Text = new Text(); Laya.stage.addChild(text); text.text = "单击舞台播放和暂停"; text.color = "#FFFFFF"; text.fontSize = 100; text.valign = "middle"; text.al...
来源: Laya2.0_文档 发布时间: 20210715