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

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

31. 为什么新建一个项目后,什么都没添加,直接点运行就报错?? [ 62%]

...加,直接点运行就报错?? laya.core.js:23023 Access to XMLHttpRequest at 'file:///Users/andyzu/Desktop/LayaGame/demo/myLaya/bin/version.json' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-exten...

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

32. Cannot read property 'events' of undefined [ 60%]

...ndefined 运行报错 Uncaught Can not find scene:GameView.scene undefined Request failed Status:404 text:undefined 销毁有声音的spine动画,skeleton中的_onAniSoundStoped有时会报undefined错误 discard property,please use transform's property instead XmlDom类没有了?解析xml时,...

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

33. http劫持 [ 59%]

...manager的情况下不好协调。 手机调试时http请求错误,返回Request failed Status:0 怎么使用http请求 问题状态 最新活动: 2017-06-26 11:02 浏览: 1345 关注: 3 人 贺杰 • 2020-07-14 13:26 如果打包APK http被挟持了要怎么办呢

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

34. layaBox2.2中这个错误怎解决或者怎么忽略不报这个错误 [ 59%]

...不报这个错误 H:/LayaAir/minGame1/cyjl/bin/undefined/undefined.json Request failed Status:0 text: [warn]Retry to load: undefined/undefined.scene Failed to load resource: net::ERR_FILE_NOT_FOUND [file:///H:/LayaAir/minGame1/cyjl/bin/undefined/undefined.json] 附件 : --> 2019-09-11 添加评论 ...

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

35. HttpRequest问题 [ 58%]

HttpRequest问题 我现在用js代码通过http访问   在laya引擎里测试是有数据返回的,请求是成功的。。 但是发布成h5项目之后,布置好服务器。。打开链接点击请求访问时,却访问失败,返回错误码:Request failed Status:0 text   请问这...

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

36. HttpRequest在firefox里面执行正常在ios出现err [ 58%]

HttpRequest在firefox里面执行正常在ios出现err layaair使用了httpRequest获取json数据,在firefox里正常,但是用了ios自带的safari就出现err,报错是request failed status:0 我的学习作品地址是http://www.mubugu.com/test/poker/bin/index.html 大家可以试试看...

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

37. 请问Laya.HttpRequest可以get请求Https地址么? [ 58%]

请问Laya.HttpRequest可以get请求Https地址么? 我请求微信登录的access_token,是一个Https地址,但是一直返回错误  request failed status:0  text:,但是我把请求地址换成官网demo的地址'http://xkxz.zhonghao.huo.inner.layabox.com/api/getData?name=myname&...

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

38. layacmd 安装不成功 [ 57%]

... output above. npm ERR! Please include the following file with any support request: npm ERR npm ERR! code 1 2017-11-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识达人 赞同来自: 这是你...

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

39. var text = new Laya.Text();为什么text.pivot(200,200);不起作用 [ 57%]

...移动 获取不到label的text属性 调试工具正常,真机报错:Request failed Status:0 text( 加载场景失败) 问题状态 最新活动: 2018-03-22 17:33 浏览: 1046 关注: 2 人 Prajna • 2018-03-22 17:44 可以了,非常感谢 Monica • 2018-03-22 17:46 @Prajna:不客气~

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

40. 请问我用下面的代码发送个简单的http get请求,为什么在电脑上能得到成功输出,在手机上总是得到失败输出呢? [ 50%]

...151.248/sf_serve ... 3B%3B alert("url=" + url); var req = new laya.net.HttpRequest(); req.on(laya.events.Event.COMPLETE, null, cb_onSuccess); req.on(laya.events.Event.ERROR, null, cb_onFail); req.send(url); } function cb_onSuccess(response) { alert("response=" + response); // 成功输出:{"ret":1...

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