大约有 161 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0031 秒)
...hr.once(Laya.Event.COMPLETE, this, ()=>{console.log("http timeout test: success");}); hr.once(Laya.Event.ERROR, this, (e: any)=>{console.log("http timeout test: error " + e.toString());}); console.log("http timeout test: start post"); hr.send(url, "", "post"); }); 如上...
来源: Laya_社区 发布时间: 20171016
...js文件 倒是运行报错未找到 SFS2X is not defined;at api readFile success callback function ReferenceError: SFS2X is not defined at Server.initSFS (http://127.0.0.1:17168/game/code.js:130617:26) 2019-10-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...
来源: Laya_社区 发布时间: 20191017
...AutoClear:Boolean =true):void { var downloadTask:* = wxdown({url: fileUrl, success: function(data:Object):void { if (data.statusCode === 200) readFile(data.tempFilePath, encoding, callBack, readyUrl,isSaveFile,fileType,isAutoClear); else callBack != null && callBack.runWith([1, data]); }, fa...
来源: Laya_社区 发布时间: 20180924
...der.XML}]); 错误如下: gameThirdScriptError undefined;at api readFile success callback function undefined 经调试,原因就是加载了xml,去掉该行就不会报错。 同时位图字体也是因为xml解析的原因报错 TypeError: xml.getElementsByTagName is not a function 2018-01-03...
来源: Laya_社区 发布时间: 20180103
...: [TMA][ERROR][RUNTIME] thirdScriptError undefined;at api readFile success callback function undefined 字面意思理解是加载资源没有回调,在Android和Web上能跑,在IOS上有问题,我就猜测是资源格式的问题,因为U3D里不同平台也需要打不同平台的AB...
来源: Laya_社区 发布时间: 20191012
...发布到微信平台报错"gameThirdScriptError undefined;at api readFile success callback function undefined" 错误是WAGame.js 和 gamePage.html;里的,不知道为什么,希望有人解答啊!急需急需急需…… 2018-09-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20180918
...赞同来自: demo--- 在ResourceManager中有两个方法 loadSuccess loadRunning 在LoadController中有个 public startLoad(){ if(LoadControl.isLaodSuccess){ console.log("加载成功了"); EventManager.Instance().BroadcastLisenter(GameEnum.load_success); }else{ console.log("开始加...
来源: Laya_社区 发布时间: 20181213
...一直报这个错!getUint16 error - Out of bounds";at api request success callback function String
来源: Laya_社区 发布时间: 20200115
... MiniFileMgr.fs.readFile({ filePath: filePath, encoding: encoding, success: function (data) { if (filePath.indexOf("http://") != -1 || filePath.indexOf("https://") != -1) { if (TTMiniAdapter.autoCacheFile || isSaveFile) ...
来源: Laya_社区 发布时间: 20191204
...打开就报错. 堆栈: gameThirdScriptError undefined;at api readFile success callback function console.error @ VM1782:1 errorReport @ WAGame.js:3 thirdErrorReport @ WAGame.js:3 (anonymous) @ WAGame.js:3 u @ WAGame.js:4 (anonymous) @ WAGame.js:4 function.setTimeout @ gamePage.html:1 (anonymous)...
来源: Laya_社区 发布时间: 20180509