大约有 655 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0060 秒)
...一下是没有问题的 你自己可以写个简单的dmeo试一下 var loader:Loader=new Loader(); loader.contentLoaderInfo.addEventListener(Event.COMPLETE,onCom); loader.load(new URLRequest("aaa")); private function onCom(event:Event):void { // TODO Auto-generated method stub addChild(event.targe...
来源: Laya_社区 发布时间: 20151214
...instanceof Array ? [data] : data); } else { this._http.offAllCaller(this); Loader._loaders.push(this); if (!Loader._isWorking) Loader.checkNext(); } } 2020-02-17 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 135*****896 相关问题 请...
来源: Laya_社区 发布时间: 20200214
...dData = [ { "url": 'res/atlas/main.atlas', "type":Laya.loader.ATLAS }, { "url": 'res/atlas/newUser.atlas', "type":Laya.loader.ATLAS }, { 'url': "res/atlas/role_skin.atlas", "type":Laya.loader.ATLAS }, { 'url': "res/atlas/number.atlas&q...
来源: Laya_社区 发布时间: 20180525
微信小游戏与加载图片时不会触发erroe事件 Laya.loader.on(Laya.Event.ERROR, this, function(){ console.log("err"); }); Laya.loader.load([{url:"res/general/test.png",type:laya.net.Loader.IMAGE}]); 2018-09-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...
来源: Laya_社区 发布时间: 20180926
已上传demo window["wx"].env.USER_DATA_PATH 下的资源用loader加载不了 资源文件用 var fileManager = window["wx"].getFileSystemManager(); fileManager.access() 这个接口检查过是存在的 附件 : --> Evolution_test.zip 2019-06-28 添加评论 免费帖 --> 分享 ...
来源: Laya_社区 发布时间: 20190628
...通过预加载方式解决这个问题。 package { import flash.display.Loader; import flash.display.LoaderInfo; import flash.display.Sprite; import fash.display.StageAlign; import flash.display.StageScaleMode; import flash.events.Event; import flash.net.URLRequest; public class Main extends Sprit...
来源: Laya_社区 发布时间: 20151123
...进行进度值传参 dd.loading(50); } //加载引擎需要的资源 Laya.loader.load([{url: "res/atlas/comp.json", type: Loader.ATLAS}], Handler.create(this, onLoaded)); } 这里的dd=__JS__("window.loadingView"); 换成 ts 怎么写 Apple • 2018-04-16 16:22 直接 Laya.Brows...
来源: Laya_社区 发布时间: 20180416
...载prefab FD 宏编译时 出现 试图访问该方法时失败 请问下loader如何强制加载一个文件,避免浏览器的缓存 问题状态 最新活动: 2017-05-24 16:42 浏览: 1312 关注: 2 人
来源: Laya_社区 发布时间: 20170523
...到create函数。问题很好重现。 IED 2.5版本 如果不使用Laya.loader.load加载后创建prefab是没有问题的。 Laya.loader.load(url, Laya.Handler.create(this, function (obj: any) { let prefab = Laya.Pool.getItemByCreateFun('prefab_' + name, obj.c...
来源: Laya_社区 发布时间: 20200409
...sCfgList 是一组资源类似 { url: CONFIG_MONSTER_LEV, type: Laya.Loader.JSON }, { url: CONFIG_TERRAIN, type: Laya.Loader.JSON }, { url: CONFIG_FORMATION_TEMPLATE, type: Laya.Loader.JSON }, { url: CONFIG_MOVE_PATH, type: Laya.Loader.JSON }, { url: CONFIG_LEVEL, type: Laya.Loader.JSO...
来源: Laya_社区 发布时间: 20170808