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

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

351. as3字符串截取int的问题 [ 66%]

...自动转成以下JS并报错Uncaught ReferenceError: int is not defined function DConfig(){}; __class(DConfig,'DConfig'); __getset(1,DConfig,'GamrRoomEnterPower',function(){ return DConfig.gamrRoomEnterPower; },function(value){ DConfig.gamrRoomEnterPower=value; console.log(DConfig.gamrRoomEnterPowe...

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

352. 发布web,选择压缩混肴js后,运行报错,正常编译后可以运行项目 [ 66%]

....event (LayaSample.max.js:1)     at new i (LayaSample.max.js:1)     at Function.t.regSession (LayaSample.max.js:1)     at t.i.initSession (LayaSample.max.js:1)     at Function.t.INIT (LayaSample.max.js:1)     at i.execute (LayaSample.max.js:1)     at Function.t.exeCMD (LayaSample.max.js:...

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

353. IDE通过.ui自动生成的ui代码报错 [ 66%]

...摇报错,就解决方案 导微信小程序报错window.focus is not a function 问题状态 最新活动: 2018-01-17 20:13 浏览: 2713 关注: 2 人 sheen • 2018-01-17 20:25 我已经改好了。。忘记之前删了一个模版。。

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

354. 为啥我在批量removeself 会报错卡死 [ 66%]

为啥我在批量removeself 会报错卡死 override public function removeSelf():Node { this.scaleX = 1; this.scaleY = 1; this.alpha = 1; this.pos(0,0); this.filters = []; if(selectImg != null) { selectImg.removeSelf(); } this.mouseEnabled = true; if(this.visible == false) { this.visible = true; ...

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

355. [LayaAir3][LayaAirIDE3]发布后的bundle.js,偶尔会发布出运行错误的bundle.js [ 66%]

...微信小程序时,用微信工具跑,报“TypeError: eval is not a function”, 我看了发布出来的bundle.js,确实有很多eval函数;然后我在微信工具勾了“把JS编译为ES5”后,这时候微信工具上能跑了。 诡异的是:我再把“JS编译为ES5”的勾...

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

356. 背景音乐来回切换报错 [ 66%]

...        Laya.loader.load("res/dreams.mp3",Laya.Handler.create(this,function(){             dreamsSound = Laya.SoundManager.playMusic("res/dreams.mp3")         }))          let mainSound:Laya.SoundChannel = null;         this.btn_sound.on(Laya.Event.CLICK,...

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

357. 微信关系链开发中,开放域发布的代码会报错 [ 66%]

...码会出现报错,Uncaught TypeError: wx.getFileSystemManager is not a function 附件 : --> 2018-06-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 156*****180 赞同来自: 主域 Laya.init(true); 子域 La...

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

358. laya.utils.IStatRender_API3.0 [ 66%]

...ters ctx: any x: number y: number Returns void set_onclick set_onclick(fn: Function): void Defined in laya/utils/IStatRender.ts:26 点击性能统计显示区域的处理函数。 Parameters fn: Function Returns void show show(x?: number, y?: number, views: any): void Defined in laya/utils/IStatRend...

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

359. domParser在哪儿 [ 65%]

...          */         public static var parseXMLFromString:Function = function(value:String):XmlDom {             var rst:*;             value = value.replace(/>\s+</g, '><');             __JS__("rst=(new DOMParser()).parseFromString(val...

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

360. laya2.0 localStorage语法错误 [ 65%]

laya2.0 localStorage语法错误 Storage.getItem=function(key){ return Storage.support ? Storage.items.getItem(key):null; } Storage.getJSON=function(key){ return JSON.parse(Storage.support ? Storage.items.getItem(key):null); }?:不是js的写法吧... 2018-11-22 添加评论 免费帖 --> 分享 ...

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