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

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

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

...可以正常跑,但是发布后,运行报错 Failed to load file.Cross origin requests are Failed to load file:///H:/WeChatQ1Snake/release/layaweb/v1.0.0/res/atlas/images.atlas: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https. i.send @ l...

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

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

...后,index.html在浏览器打开出现跨源受限的问题 Image from origin 'file://' has been blocked from loading by Cross-Origin Resource Sharing policy: Invalid response. Origin 'null' is therefore not allowed access. laya.core.min.js:6 [warn]Retry to load: E:/laya/layatest/release/layaweb/1...

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

3. 发布之后报错,跨域问题 [ 91%]

...gxiang/Documents/saolei/release/layaweb/v1.0.0/res/atlas/comp.atlas: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https. Access to Image at 'file:///Users/dongxiang/Documents/saolei/release/layaweb/v1.0.0/comp/classic_numbers_8.png' from origin...

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

4. 图片加载问题 [ 86%]

...ccess to Image at 'file:///E:/study/LayaAirStudy/bin/h5/res/soil.png' from origin 'null' has been blocked by CORS policy: Invalid response. Origin 'null' is therefore not allowed access. 2017-01-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...

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

5. as3用flashdevelop编译加载不了图片 [ 81%]

...file:///D:/My_HTML5_Project/AS3/project/LoadImage/bin/h5/comp/a1.png' from origin 'null' has been blocked by CORS policy: Invalid response. Origin 'null' is therefore not allowed access. 好像是说不允许加载,请问怎么解决? 虽然IDE可以加载图片成功,但还是习惯用FD编...

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

6. 1整天了,还是没解决加载本地文件问题 [ 79%]

... to Image at 'file:///E:/layawork/myLaya12/bin/h5/war/background.png' from origin 'null' has been blocked by CORS policy: Invalid response. Origin 'null' is therefore not allowed access. 加载本地文件总是报错, chrome 浏览器快捷方式有加 --allow-file-access-from-files 了,还是...

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

7. 引擎能打包成html页面,然后直接用手机webview加载吗? [ 78%]

...ps/fb77dedd-fee0-40dd-9a63-4e00cb6b6a89/1.0.0/index.html-line0 :Image from origin 'file://' has been blocked from loading by Cross-Origin Resource Sharing policy: Invalid response. Origin 'null' is therefore not allowed access. 2017-07-07 0 0 分享 微博 QZONE 微信 Laya_XS 赞同来自: 那你...

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

8. Cannot read property 'toDefault' of undefined报错是什么原因 [ 73%]

...ext.LINES, state); // //绘出射线 // this.phasorSpriter3D.line(this.ray.origin.x, this.ray.origin.y, this.ray.origin.z, 1.0, 0.0, 0.0, 1.0, 0, -1, 0, 1.0, 0.0, 0.0, 1.0); // this.phasorSpriter3D.end(); } var Stage = Laya.Stage; var Text = Laya.Text; var Geolocation = Laya.Geolocation; var Positio...

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

9. 射线检测报错,outHitInfo.sprite3D=null; [ 67%]

...量线并不是射线真正的路径) this.phasorSprite3D.line(this.ray.origin, new Laya.Vector4(1,0,0,1), position , new Laya.Vector4(1,0,0,1));   //如果与物品相交,画三面边线 if(this.hit.sprite3D) { //从碰撞信息中获取碰撞处的三角面顶点 var trianglePositions:Array<...

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

10. 【简单跑酷--JS版】---Lv.2 类之间的引用以及背景滚动实现 [ 66%]

...好的,在谷歌下报错运行不了   报的是这个错 Image from origin 'file://' has been blocked from loading by Cross-Origin Resource Sharing policy: Invalid response. Origin 'null' is therefore not allowed access. 2016-08-31 0 2 分享 微博 QZONE 微信 xiaobear250 赞同来自: 写得...

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