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

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

11. 版本管理swf找同名的Json文件发现找不到 [ 69%]

...lasPath']);             var atls_ary:Array<any> = Loader.getAtlas(this['_atlasPath']);             this.basePath=atls_ary['dir'];                 //this.basePath = "map1.swf";             this['_initData'](data);         }     } ...

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

12. 播放swf动画的时候,有的时候会崩溃在这里, Cannot read property 'dir' of undefined [ 67%]

...nnot read property 'dir' of undefined this.basePath=this._atlasPath?Loader.getAtlas(this._atlasPath).dir:this._url.split(".swf")[0]+"/image/"; 2018-04-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞...

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

13. Laya.loader.clearTextureRes引起的内存泄露以及恢复图片显示闪烁 [ 67%]

...e(this,function(bit){                 var arr = Laya.Loader.getAtlas(this.skPath);                 arr.forEach(resUrl=>{                     var tex = Laya.Loader.getRes(resUrl) as Laya.Texture;                     tex.bitmap = b...

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

14. 播放swf动画的时候,会出现 Cannot read property 'dir' of undefined崩溃 [ 66%]

...undefined崩溃 这个是出错信息 this.basePath=this._atlasPath?Loader.getAtlas(this._atlasPath).dir:this._url.split(".swf")[0]+"/image/";    我们采用的播放模式是this.effectMovieClip.load(effectsPath,true);  effectsPath 是路径 我们的swf 文件在附件中, 附件 : --> booms...

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