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

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

1. MovieClip 的 bug [ 100%]

...} //保护修改-----start------------------ var atlasData:Object = Loader.getAtlas(_atlasPath); if(!atlasData) { event(Event.ERROR,"file not find"); return; } //保护修改-----end------------------ this.basePath =_atlasPath?Loader.getAtlas(_atlasPath).dir:_url.split(".swf")[0] + "/image/"; _initD...

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

2. MovieClip 报错 7 [ 92%]

...} //保护修改-----start------------------ var atlasData:Object = Loader.getAtlas(_atlasPath); if(!atlasData) { event(Event.ERROR,"file not find"); return; } //保护修改-----end------------------ this.basePath =_atlasPath?Loader.getAtlas(_atlasPath).dir:_url.split(".swf")[0] + "/image/"; _initD...

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

3. MovieClip 报错 [ 88%]

...} //保护修改-----start------------------ var atlasData:Object = Loader.getAtlas(_atlasPath); if(!atlasData) { event(Event.ERROR,"file not find"); return; } //保护修改-----end------------------ this.basePath =_atlasPath?Loader.getAtlas(_atlasPath).dir:_url.split(".swf")[0] + "/image/"; _initD...

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

4. MovieClip 报错 [ 87%]

...} //保护修改-----start------------------ var atlasData:Object = Loader.getAtlas(_atlasPath); if(!atlasData) { event(Event.ERROR,"file not find"); return; } //保护修改-----end------------------ this.basePath =_atlasPath?Loader.getAtlas(_atlasPath).dir:_url.split(".swf")[0] + "/image/"; _initD...

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

5. 我来改代码! [ 87%]

...} //保护修改-----start------------------ var atlasData:Object = Loader.getAtlas(_atlasPath); if(!atlasData) { event(Event.ERROR,"file not find"); return; } //保护修改-----end------------------ this.basePath =_atlasPath?Loader.getAtlas(_atlasPath).dir:_url.split(".swf")[0] + "/image/"; _initD...

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

6. MovieClip报错 [ 84%]

...} //保护修改-----start------------------ var atlasData:Object = Loader.getAtlas(_atlasPath); if(!atlasData) { event(Event.ERROR,"file not find"); return; } //保护修改-----end------------------ this.basePath =_atlasPath?Loader.getAtlas(_atlasPath).dir:_url.split(".swf")[0] + "/image/"; _initD...

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

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

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

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

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

...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

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

...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

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

...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