大约有 38 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0041 秒)
....length;i++){ filename+=('/'+names[i]); } } xhr.open("GET", filename); xhr.send();我是这么改的,可以成功把消息发出去了,但是解析又出了问题 gameThirdScriptError Cannot read property 'apply' of undefined;at api request success callback function TypeError: Cannot read proper...
来源: Laya_社区 发布时间: 20180704
... self.postMessage(data); } xmlreq.open("get","../atlas/comp.json"); xmlreq.send() }, false); 这个例子是在worker中进行加载文件,加载完毕传给主进程,运行这个例子可以在浏览器控制台看到数据输出来。 var myWorker = new Worker("my_task.js")实例化一个worke...
来源: Laya3.0_文档 发布时间: 20250103
...,或该响应头不存在,则返回null。 open() 初始化一个请求. send() 发送请求. 如果该请求是异步模式(默认),该方法会立刻返回。 相反,如果请求是同步模式,则直到请求的响应完全接受以后,该方法才会返回。 setRequestHeader() 给指定...
来源: Laya3.0_文档 发布时间: 20250104
...self.postMessage(data); } xmlreq.open("get","res/atlas/comp.json"); xmlreq.send() }, false); ``` 这个例子是在worker中进行加载文件,加载完毕传给主进程,运行这个例子可以在浏览器控制台看到数据输出来。 `var myWorker = new Worker("my_task.js")`实例化一...
来源: Laya2.0_文档 发布时间: 20210715
...self.postMessage(data); } xmlreq.open("get","res/atlas/comp.json"); xmlreq.send() }, false); ``` 这个例子是在worker中进行加载文件,加载完毕传给主进程,运行这个例子可以在浏览器控制台看到数据输出来。 `var myWorker = new Worker("my_task.js")`实例化一...
来源: Laya2.0_文档 发布时间: 20210715
...self.postMessage(data); } xmlreq.open("get","res/atlas/comp.json"); xmlreq.send() }, false); ``` 这个例子是在worker中进行加载文件,加载完毕传给主进程,运行这个例子可以在浏览器控制台看到数据输出来。 `var myWorker = new Worker("my_task.js")`;实例化...
来源: Laya2.0_文档 发布时间: 20210715
...com.layabox.game is waiting for the debugger on port 8100... I/System.out: Sending WAIT chunk I/dalvikvm: Debugger is active I/System.out: Debugger has connected I/System.out: waiting for debugger to settle... Connected to the target VM, address: 'localhost:8600', transport: 'socket' I/System.out: w...
来源: Laya_社区 发布时间: 20171218
...ya I/AudioTrack-JNI﹕ audioTrack continuously zero data counter >= 10, send pause/stop state to pg, counter: 0 04-11 11:17:09.890 8591-8658/com.mygame.laya E/LayaBox﹕ >>>>>>>>>>>>>>>>>>>>>>>>>>>>className:...
来源: Laya_社区 发布时间: 20170411