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

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

141. 用最新版本的IDE开发,用AS语言开发,用HttpRequest加载图片报错,用JS语言开发却可以加载 [ 83%]

...s/monkey2.png","","get","arraybuffer"); } private function completeHandler(data:Object):void { //加载完成返回的data是arraybuffer; //.......这里处理我们加密的图片数据,假设我们的图片加密数据是在图片的前面写入了四个字节的数据 //.......解密逻辑开...

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

142. 示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function [ 83%]

... = layaair.game.Market.MarketTest@4a7c91fc D/dalvikvm: Trying to load lib /data/app-lib/com.layabox.game-2/liblayaair.so 0x94f7d5b8 D/dalvikvm: Added shared lib /data/app-lib/com.layabox.game-2/liblayaair.so 0x94f7d5b8 I/LayaBox: setLocalizable:1 I/LayaBox: JNI setIsPlug:0 I/LayaBox: JNI seturl...

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

143. 寻求帮助 Uncaught TypeError: Cannot read property 'play' of null [ 83%]

...ypeError: Cannot read property 'play' of null (see stack)#[0]__proto.play@/data/data/com.nearme.instant.platform/app_game/app/com.jinkejoy.talkingtomgoldrun.kyx.nearme.gamecenter/2115/libs/laya.quickgamemini.js:1838#[1]__proto.__onEnd@/data/data/com.nearme.instant.platform/app_game/app/com.jinkejoy....

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

144. 分享:使用 Chart.js 创建图标 [ 82%]

...on FormDemo() { // 初始化舞台 Laya.init(400,400); // 图标数据 var data:Object = { labels: [ //最上方矩形的标签提示和颜色设置 "Red", "Blue", "Yellow" ], datasets: [ { data: [300, 50, 100],//所占整个扇形的比率,以及分割份数 backgroundColor: [ //默认的饼图...

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

145. 数据、图片路径已加载到数组里面,要如何将图片路径赋值给skin?然后显示到list? [ 82%]

...请: 与内容相关的链接 提交 3 个回复 176*****233 赞同来自: data.push({itemImg:{skin: itemlo.image}} 2018-03-21 0 5 分享 微博 QZONE 微信 zq4950411 赞同来自: 如果可以的话你做个demo上传下吧,通过你描述的问题看不出来问题在哪里 2018-03-21 0 0 分...

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

146. 还是自定义事件问题。 [ 82%]

...自定义事件问题。 A实例 a.on("vj_move", this, this.onChange,this._data);  监听    在A类  抛事件 this.event("vj_move","abc");   断点监听处  this._data没数据   是不是写法有问题???   2017-11-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...

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

147. laya.d3.graphics.IndexBuffer3D_API3.0 [ 82%]

...fferUsage canRead indexCount indexType indexTypeByteCount Methods _setIndexData destroy getData setData unbind Constructors constructor new IndexBuffer3D(indexType: IndexFormat, indexCount: number, bufferUsage?: BufferUsage, canRead?: boolean): IndexBuffer3D Overrides IndexBuffer.constructor Defined...

来源: Laya3.0_api 发布时间: 20231115

148. Laya.Browser.window.eval [ 82%]

...件 ({url: 'js/js/NIM_Web_NIM_v4.3.0.js', type: Laya.Loader.TEXT }), var data:any = Laya.loader.getRes('js/js/NIM_Web_NIM_v4.3.0.js'); (这里的data还能获取到js文件里面的文本) Laya.Browser.window.eval(data); (这里就报错了) 2017-11-08 添加评论 免费帖 --> 分享 微博 ...

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

149. 小米登录失败 [ 82%]

小米登录失败 window["qg"].login({ success: function (res) { var data = JSON.stringify(res); console.log("OPPO登录:" + data); callBack(res); }, fail: function (res) { LogicManager.instance.toLoginSucc(); console.log("登陆失败:" + JSON.stringify(res)); } });  登陆失败:{"code":7605,...

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

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

...ive2.0 Lable引发的crash bug(有demo) JCFreeTypeFontRender::getTextBitmapData the buffersize is insufficient. E/LayaBox: JS onFrame error I/LayaBox: alert=出错啦,请把此信息截图给研发商     TypeError: Cannot read property 'data' of null     apploader.js:305:     TypeError: Can...

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