• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 14 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0017 秒)

11. 导出到微信小游戏资源加载失败回调不执行 [ 55%]

...加载失败时(远程CDN没有该图片)没有调用回调。 查看MiniFileMgr.as发现仅当statusCode为200时才会触发回调,源码如下 public static function downFiles(fileUrl:String, encoding:String = "ascii", callBack:Handler = null, readyUrl:String = "",isSaveFile:Boolean = false...

来源: Laya_社区 发布时间: 20180924

12. 小游戏 解析xml 问题 [ 53%]

...29 0 0 分享 微博 QZONE 微信 189*****192 赞同来自:  laya.wx.mini.MiniFileMgr.readFile("res/Config/AchievePrototype.xml")       也读取不到 2018-08-29 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起...

来源: Laya_社区 发布时间: 20180828

13. 微信小游戏里面开放数据域的资源加载问题 [ 51%]

...ction.get (http://127.0.0.1:63435/game/open/js/code.js:179:66) at Function.MiniFileMgr.readFile (http://127.0.0.1:63435/game/op ... 418:14) at Loader.__proto.load (http://127.0.0.1:63435/game/op ... 115:18) at LoaderManager.__proto._doLoad (http://127.0.0.1:63435/game/op ... 296:10) at LoaderManager...

来源: Laya_社区 发布时间: 20180507

14. 引擎中的修改意见 [ 46%]

...e if (char1 === "/") { return url; } return (base || basePath) + url; }5、MiniFileMgr中downFile只对200返回码做处理,实际会出现304 500 或者其他的错误码,并不会进入fail流程 public static function downOtherFiles(fileUrl:String, callBack:Handler = null, readyUrl:String = ...

来源: Laya_社区 发布时间: 20180820