大约有 223 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0041 秒)
Laya_社区(152) Laya2.0_文档(16) laya_api(15) Laya2.0_api(15) Laya3.0_文档(10) Laya2.0_示例(6) Laya_示例(5) Laya3.0_api(4)
...Request 回调方法都没执行 LayaAir 1.7.17 beta JS版本 function postData(url,request) { this.http = new Laya.HttpRequest(); //new一个HttpRequest类 this.http.once(Laya.Event.PROGRESS,this,this.onProgress); //数据传输中 this.http.once(Laya.Event.COMPLETE,this,this.onComplete); //数据...
来源: Laya_社区 发布时间: 20180315
tree mouseHandler 怎么获取条目 <data> <item label='folder1' isOpen='true'> <item label='folder1_1' isOpen='true'> <leaf label='1.json' /> <leaf label='2.json' /> ...
来源: Laya_社区 发布时间: 20170626
...1 8591-8591/? E/LayaConch5﹕ plugin-----------------EngineStart() = /data/user/0/com.mygame.laya/cache//LayaCache/localstorage 04-11 11:17:08.951 8591-8591/? I/LayaBox﹕ localStoragePath=/data/user/0/com.mygame.laya/cache//LayaCache/localstorage 04-11 11:17:09.000 8591-8591/? I/WebV...
来源: Laya_社区 发布时间: 20170411
...tion (ws) { console.log('客户端连接成功!'); ws.on('foo', function(data){ console.log(data); }); }); 自己写的html页面 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> </head> <body> </body> <script type="text/...
来源: Laya_社区 发布时间: 20180509
...let img:Laya.Image = new Laya.Image(); img.skin = "data:image/png;base64,"+base64OfQrCode; img.pos(100, 300); Laya.stage.addChild(img); } } // androidplat,创建二维码 createQrCode(url:str...
来源: Laya_社区 发布时间: 20200729
...I DocumentationAll Packages | All Classes | Index | Frames No Frames DataTexture2DProperties | Methods Packagelaya.d3.resourceClasspublic class DataTexture2DInheritanceDataTexture2D BaseTexture laya.resource.ResourcePublic Properties Hide Inherited Public Properties Show Inherited Public Pro...
来源: laya_api 发布时间: 20170929
...);}private function completeHandler(e:Object):void{audioContext.decodeAudioData(e,decodeAudioData.bind(this));}private function decodeAudioData(buffer:Object):void{audioBufferSourceNode = audioContext.createBufferSource();audioBufferSourceNode.connect(analyser);analyser.connect(audioContext.destinat...
来源: Laya_社区 发布时间: 20181023
...`); this.socket.send("getScore"); } private receiveHandler(msg: any = null,data): void { console.log(`接收到数据触发函数:` + msg); ///////////////////////////////////////////////////////////// 这里的msg,是监听事件的名称,请问下服务器发送过来的数据,我怎么获取.????...
来源: Laya_社区 发布时间: 20180424
...s/monkey2.png","","get","arraybuffer"); } private function completeHandler(data:Object):void { //加载完成返回的data是arraybuffer; //.......这里处理我们加密的图片数据,假设我们的图片加密数据是在图片的前面写入了四个字节的数据 //.......解密逻辑开...
来源: Laya_社区 发布时间: 20171011
...arraybuffer"); } } GameMain.prototype.completeHandler = function (URL, id, data) { // private completeHandler(data: Object, URL: string, id: number): void { //加载完成返回的data是arraybuffer; //......这里处理我们加密的图片数据,假设我们的图片加密数据是在图片的...
来源: Laya_社区 发布时间: 20180629