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

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

101. 调用Laya.loader.load()方法加载资源,怎么获取所加载的资源大小. [ 73%]

...大小. 我想获取到加载资源的网速,现在思路是 通过new HttpRequest().send()方法完成事件的参数arraybuffer来获得所加载资源的大小,然后根据加载时间计算出网速。但是这样会调用new HttpRequest().send()方法加载一遍,还得再调用Laya.loade...

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

102. layaair ide 2.0.0 beta2 读取.lh文件报错 [ 72%]

...laya.core.js:14927) at EventHandler.__proto.runWith (laya.core.js:1126) at HttpRequest.__proto.event (laya.core.js:883) at HttpRequest.__proto.complete (laya.core.js:14601) at HttpRequest.__proto._onLoad (laya.core.js:14565) 2018-10-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

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

103. http 请求 once 的 回调参数,如何传递和接收? [ 72%]

...tDispatcher — 此 EventDispatcher 对象。 请求发送: var hr = new HttpRequest(); hr.once(Event.COMPLETE, this, http.success,[1,2,3]); hr.send("http://localhost:8082/hu_get",{}, "post","json",null);   回调方法: success:function (e,args) {     console.log(e); //此行可以得到响...

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

104. unity导出粒子特效laya加载报错。 [ 72%]

...:23519)     at EventHandler.__proto.runWith (laya.core.js:2061)     at HttpRequest.__proto.event (laya.core.js:1818)     at HttpRequest.__proto.complete (laya.core.js:23140) 2019-08-03 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...

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

105. laya接入vivo平台加载资源卡住66% [ 72%]

...//jiaz加载kasi加载卡死wenti if(Browser.onVVMiniGame) {// _http = new HttpRequest(); _http.on(Event.PROGRESS, this, onProgress); _http.on(Event.ERROR, this, onError); _http.on(Event.COMPLETE, this, onLoaded); ////////////////////////////////////////////////////// } else { //...... } 已解决...

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

106. ios机器,微信小游戏子域Image控件显示网络图片,首次失败就永远也不会成功,是不是bug? [ 72%]

...生成场景类了,此时该如何获得场景内的元素 TypeScript下HttpRequest发送Post请求有Bug? 微信小程序—未找到入口 app.json 文件,或者文件读取失败,请检查后重新编译。 FD 宏编译时 出现 试图访问该方法时失败 自从layaflash起,就一直...

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

107. laya2.0 http 发送请求跨域报错 [ 72%]

laya2.0 http 发送请求跨域报错 这边用原生xmlhttprequest发送请求正常,用laya.httprequest 发送请求报错。  Access to XMLHttpRequest at 'file:///C:\Users\pc\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.pnghttp://gs.mingdikeji.com/passion//system/getVersion' ...

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

108. "Failed to execute 'texImage2D' on 'WebGLRenderingContext' [ 71%]

...人 gveden 相关问题 Failed to load resource: net::ERR_FILE_NOT_FOUND httprequest ios手机上请求提示Request failed status:0 Array buffer allocation failed WebSocket connection to 'ws://192.168.0.8:8102/' failed: Invalid frame header FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaS...

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

109. Array buffer allocation failed [ 71%]

...常,真机报错:Request failed Status:0 text( 加载场景失败) HttpRequest在ios系统出现Request failed Status:0 text:,安卓没事 scriptEngine 0xc30edooo loadScriptStringWithCodeCache failed 发布QQ包报错 安卓的QQ扫码时运行不出来 求助大佬们!oppo游戏中3d资...

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

110. http请求接口时,app闪退。这是http请求的一个demo 哪位大佬帮看一下 [ 71%]

...还是要自己领取悬赏了。 private static onRequestComplete(hr:Laya.HttpRequest, call:Laya.Handler):void { call.runWith(hr.data); Http._requests.push(hr); } 2019-06-10 0 1 分享 微博 QZONE 微信 1560063291用户 赞同来自: 已解决,联系我 xyz 2019-06-10 0 0 分享 微博 QZONE ...

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