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

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

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

...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.0.0/r...

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

92. 官方自定义组件的制作与使用例子出错 [ 72%]

...一个scalebutton的自定义控件,但是一直报错,再C:\Program Files\LayaAirIDE_beta\resources\app\out\vs\layaEditor\renders\custom放入了ScaleButton.js和ScaleButton.xml,再C:\Program Files\LayaAirIDE_beta\resources\app\out\vs\layaEditor\laya\basics\Custom下也放入了sButton.png 帮...

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

93. 无法启动程序和调试 [ 71%]

...t;右击打开属性->快捷方式一栏->目标末尾添加 --allow-file-access-from-files 打开快捷方式,将转换后自动生成的html文件拖拽至chrome浏览器即可正常显示。   2018-01-07 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问...

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

94. laya调用input 标签没反应 [ 71%]

...个浏览本地文件的窗口,来获取本地信息。<input type="file" id="myfile" value="" name="myfile" multiple="multiple"/>   这种功能在laya里面可以使用吗? 如果调用这个方法在原生js里面是可以弹出窗口的。var ne = document.createEvent('MouseEvents'); ...

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

95. layadcc 不更新 [ 71%]

layadcc 不更新 eclipse 日志里有 download file error download image file error 也有 Downloaded 的提示 但游戏依然是旧的脚本和资源。   联网检查更新肯定是检查了,因为把更新地址里的文件全删了的话,客户端会提示联网。 服务端的包里...

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

96. warning:Laya.timer.once This variable is not defined. [ 71%]

warning:Laya.timer.once This variable is not defined. file:////Users/qykings/work/layaGame/src/view/game/logic/actors/actorClass/LocalPlayer.as (2000):warning:Laya.timer.once This variable is not defined.   更新到"1.7.16" mac layaAir 有这问题    win没有   好尴尬   2018-03-20 添加...

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

97. laya的ide如何import js并调用里面的类和方法?VS Code正常。 [ 71%]

...GameMain(); } http://requirejs.org/docs/errors.html#mismatch at makeError (file:///E:/laya/TestImport/bin/node_modules/requirejs/require.js:168:17) at intakeDefines (file:///E:/laya/TestImport/bin/node_modules/requirejs/require.js:1254:36) at file:///E:/laya/TestImport/bin/node_modules/requirejs/req...

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

98. import Event = laya.events.Event; 报错 [ 70%]

...Event = laya.events.Event; 报错 import Event = laya.events.Event; 报错 file: 'file:///e%3A/Web/GameA/client/src/GameMain.ts' severity: '错误' message: 'Import declaration conflicts with local declaration of 'Event'' at: '5,1' source: 'ts' 项目中没有其他地方写这个import, 但这个...

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

99. 无法正常运行官网中的示例代码 [ 69%]

...com/index.p ... 3D622 控制台报错: Failed to load resource: net::ERR_FILE_NOT_FOUND [warn]Retry to load: D:/demo/bin/res/atlas/comp.json Failed to load resource: net::ERR_FILE_NOT_FOUND [error]Failed to load: D:/demo/bin/res/atlas/comp.json 2017-03-28 添加评论 免费帖 --> 分享 微博 Q...

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

100. VScodeF5运行不了 [ 68%]

...格,无力吐槽>  --disable-web-security'"runtimeArgs": [ "--allow-file-access-from-files", "(就是这里)--disable-web-security" //官方文档前面有空格 ],   2021-01-14 0 2 分享 微博 QZONE 微信 180*****252 赞同来自: launch配置是创建项目自动生成的,也没改...

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