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

大约有 64 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0038 秒)

1. 关于资源加载的问题 [ 100%]

...载TFF字体要怎么加载呢? laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined IDE1.7.8 json图集加载问题 new Laya.Sprite();绘制图形以后,怎么删除释放资源? Animation 的createFrames 使用已经加载的图集缓存动画...

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

2. XMLHttpRequest cannot load [ 94%]

...nsion-resource.__proto.send @ firstGame.max.js:9742 firstGame.max.js:9142 [error]Failed to load: F:/Laya/Project/firstGame/bin/h5/res/atlas/comp.json 2firstGame.max.js:15426 lose skin comp/button.png 2firstGame.max.js:15426 lose skin comp/checkbox.png file:///F:/Laya/Project/firstGame/bin/h5/comp/bg...

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

3. 调试正常但发布后,index.html在浏览器打开出现跨源受限的问题 [ 88%]

...sponse. Origin 'null' is therefore not allowed access. laya.core.min.js:6 [error]Failed to load: E:/laya/layatest/release/layaweb/1.0.0/res/img/image.png -------- ie浏览器可以看到图片,谷歌浏览器不行 2017-03-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

4. MovieClip 的 bug [ 87%]

...护,判断下图集的信息是否存在,如果不存在就派发一个error事件通知开发者,MC使用的图集信息不存在,目前已安排引擎同事在版本里增加了保护,下个版本提交发布后就有了,临时你也可以通过修改代码来添加保护:var data:*;...

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

5. Laya.URL.basePath加载不到网络资源 [ 86%]

...:13283 __proto.runWith @ code.js:720 __proto.event @ code.js:494 __proto.onError @ code.js:12784 __proto.runWith @ code.js:720 __proto.event @ code.js:494 __proto.error @ code.js:12548 __proto._onError @ code.js:12523 http.onerror @ code.js:12485 _triggerEvent @ weapp-adapter.js? [sm]:1247 fail @ we...

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

6. (有图片附件)图集用的atlas 在LayaAir里可以正常跑,但是发布后,运行报错 Failed to load file.Cross origin requests are [ 85%]

..., chrome-extension, https. i.send @ laya.core.min.js:5 laya.core.min.js:6 [error]Failed to load: H:/WeChatQ1Snake/release/layaweb/v1.0.0/res/atlas/images.atlas main.min.js:1 Uncaught TypeError: BackGround is not a constructor     at t.onLoaded (main.min.js:1)     at t.onLoaded2 (main.min.js:1) ...

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

7. 从网络上下载的BMP图片二进制数据后,如何赋值给 laya.ui.Image [ 82%]

....Event.COMPLETE, this, cb_onSuccess);         req.on(laya.events.Event.ERROR, this, cb_onFail);         req.send(url);      }      // 下载jpg图片成功后,显示在舞台上,response为 bmp图片二进制     function cb_onSuccess(response)     {         /* 如何把bmp...

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

8. layabox加载fairygui发布的二进制文件报错 [ 82%]

...t null"); //输出//////////////////////////////// if (content==null){ var errorCount=this._failRes[url] || 0; if (errorCount < this.retryNum){ console.warn("[warn]Retry to load:",url); this._failRes[url]=errorCount+1; Laya.systemTimer.once(this.retryDelay,this,this._addReTry,[resInfo],false); re...

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

9. TS分离模式设置未打包图片输出目录导出资源无法加载未打包资源 [ 81%]

...(this, this.onLoaded)); 运行报错: [warn]Retry to load: comp/image.png [error]Failed to load: comp/image.png   修改导出的TestPage.json里面对应控件引用的skin值加上对应路径 "skin":"unpack/comp/image.png" 后能正常加载 希望能尽快解决 附件 : --> 2017-12-30 添加...

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

10. [LayaAirIDE3]Laya.loader.on(Event.ERROR, this, this.onError) 无法侦听到加载资源失败 [ 79%]

[LayaAirIDE3]Laya.loader.on(Event.ERROR, this, this.onError) 无法侦听到加载资源失败 laya3 加载资源后使用 Laya.loader.on(Event.ERROR, this, this.onError) 无法获得加载失败响应,根据示例里的错误处理和进度操作也得不到错误的响应,laya2里是可以的...

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