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

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

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

...laya.core.min.js:1)     at e.i.onError (laya.core.min.js:5) index.html:1 Access to Image at 'file:///H:/WeChatQ1Snake/release/layaweb/v1.0.0/map/tile_map.png' from origin 'null' has been blocked by CORS policy: Invalid response. Origin 'null' is therefore not allowed access. laya.core.min.js:6 [wa...

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

2. Access-Control-Allow-Origin 跨域问题 [ 87%]

Access-Control-Allow-Origin 跨域问题 Access to Image at 'http://192.168.1.66:9356/fileUpload/5749684.png' from origin 'file://' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'file://' is therefore not allowed access. 2017-0...

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

3. Laya.loader 跨域问题? [ 81%]

...是提示跨域不能加载,错误如下,请问如何处理?     Access to Image at 'http://tva2.sinaimg.cn/crop.0.0.180.180.50/***.jpg' from origin 'http://***.sina.com.cn' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin ...

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

4. 帮忙看看这个图片加载不上来怎么解决 [ 79%]

帮忙看看这个图片加载不上来怎么解决 Access to Image at 'https://apic.xxx.cn/upload/avanew/face/201704/04/15/607e147293c59310d6010e0b1278e7b2_big.jpg?rltime' from origin 'https://www.xxx.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the r...

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

5. 图片加载问题 [ 79%]

...prite; s.loadImage("res/soil.png"); Laya.stage.addChild(s); chrome报错:Access 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 添加评论 免费帖 -->...

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

6. as3用flashdevelop编译加载不了图片 [ 76%]

as3用flashdevelop编译加载不了图片 index.html:1 Access to Image at '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. 好像是说不允许加载,请问...

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

7. 发布之后报错,跨域问题 [ 75%]

...pported 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 'null' has been blocked by CORS policy: Invalid response. Origin 'null' is therefore not allowed acce...

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

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

1整天了,还是没解决加载本地文件问题 Access 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 浏览器快...

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

9. load方法加载cdn上面的图片资源的时候直接报了跨域不同源的问题,怎么破? [ 73%]

...ogList, Handler.create(this, this.startLoaded)); 代码是这样的 报错 Access to Image at 'http://caifu-1251177394.file.myqcloud.com/beta/book/bookLaya/img/progressBar$bar.png' from origin 'http://bookportal.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present...

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