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

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

171. 真机上随机报错 [ 48%]

...报错 JS onFrame error 2021-12-01 17:08:49.363 11766-11918/? I/LayaBox: alert=出错啦,请把此信息截图给研发商 RangeError: Array buffer allocation failed http:111111/.com/libs/laya.d3.js:24049: RangeError: Array buffer allocation failed this._vertices = new Float32Array(this._floatCoun...

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

172. DialogManager默认是添加到Laya.stage上会导致非引擎的显示对象无法永远处于最上层! [ 48%]

...同来自: 1、dialog本身就是位于最上层的,譬如你浏览器上alert了一个弹框,你只有将弹框关闭,才可以进行其他操作,dialog也是弹框,也是位于所有显示对象最上层的,你是有什么需求需要其他显示对象跑到dialog的上方吗 2、在...

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

173. Android打包后运行报错 [ 48%]

...jni/../../../../source/conch/JSWrapper/LayaWrap/JSGlobalExportCFun.cpp:250 alert=http://stand.alone.version/Main.max.js:16077: ReferenceError: CanvasRenderingContext2D is not defined to=to || CanvasRenderingContext2D.prototype;          ^^                                   Ref...

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

174. Laya2.0构建APP运行闪退,laya.core.js报错 [ 48%]

Laya2.0构建APP运行闪退,laya.core.js报错 I/LayaBox: alert=出错啦,请把此信息截图给研发商 TypeError: this.nativeInput.setBgColor is not a function http://stand.alone.version/lib ... 2712: TypeError: this.nativeInput.setBgColor is not a function this.nativeInput.setBgColor(val...

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

175. list的selectHandler属性连续点击同一个item不能重复接收事件 [ 47%]

...this, onSelect);        function onSelect(index)     {         alert("当前选择的索引:" + index);     }      第一次点击时有事件响应:       再次点击(不要点击其它的列表),就不会有响应事件:   希望能解决这个问题,是有这...

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

176. 分享:使用 Chart.js 创建图标 [ 47%]

...下使用__JS__()去直接调js原生的方法使用即可,譬如__JS__('alert("aaa")'); 2017-03-30 1 0 分享 微博 QZONE 微信 weiyongwill 赞同来自: cuixueying 多谢指点,已经跑起来了。百度的Echarts效果超绚丽 2017-01-10 1 0 分享 微博 QZONE 微信 mazihan723 - 幼儿...

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

177. Tween的to方法完成缓动后的回调怎么写,Tween.to(beginbox,{x:-Laya.Browser.width},1000,null,aaa,0,false);aaa是一个测试方法 [ 47%]

...{x:0},1000);     console.log(beginbox.x); } function onTweeed(){     alert("完成了"); }   这样写,报错了:Uncaught ReferenceError: Handler is not defined at begingame 2017-01-04 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发...

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

178. LayaNative2.0 Lable引发的crash bug(有demo) [ 47%]

...ata the buffersize is insufficient. E/LayaBox: JS onFrame error I/LayaBox: alert=出错啦,请把此信息截图给研发商     TypeError: Cannot read property 'data' of null     apploader.js:305:     TypeError: Cannot read property 'data' of null         pTextBitmap.data = nativeObj.da...

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

179. 分享:为List组件下Item(Box)下的Button(或其他组件)进行监听! [ 47%]

...I, "TestUI", TestPageUI); //按钮Click回调 function onClickBtn(index) { alert("你点击了第:"+index+"个btn"); } //初始化引擎 Laya.init(600, 400); Laya.stage.bgColor='#EEFFCC'; Laya.loader.load("res/atlas/comp.json", Handler.create(this, onAssetLoaded), null, Loader.ATLAS); //添加UI...

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

180. httprequest ios手机上请求提示Request failed status:0 [ 47%]

...3. 检查就绪状态 function updatePage() { if (request.readyState == 4) alert("Server is done!"); } 从这里找一找答案吧http://www.cnblogs.com/meil/ar ... .html 2019-04-25 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 RICEPIG ...

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