大约有 162 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0052 秒)
...aya.loader.load([{ url: "res/ui/LoadProgress.fui", type: Loader.BUFFER }], Handler.create(this, this.loadProgress)) this.token = token; } public loadProgress() { this.progressUI = UIBase.create(LoadProgress.UI_LoadProgress, "LoadProgress", LoadProgress.LoadProgressBinder.bindAll) this.progressUI.UIM...
来源: Laya_社区 发布时间: 20171204
...der.load([{ url:com.globals.GameConfig.XML_LIB_URL, type:Loader.BUFFER }], Handler.create(this, this.onLibLoaded)); 资源是不存在的,然后还是调用了 this.onLibLoaded 这个,这种怎么跟呢?谢谢。 zeorro • 2017-11-02 17:13 private onLibLoaded():void { CommonLocator.parseJsonF...
来源: Laya_社区 发布时间: 20171102
...清理 石圣 • 2018-12-03 11:19 是的 如果改一下Timer里面存储handler的数据结构就可以实现了。这种需求很正常啊 不知道官方为啥说要避免这种写法。可能移除多个相同域的相同方法需要一个遍历操作,性能损耗比较大? 伯恩 • 2018-...
来源: Laya_社区 发布时间: 20180719
...png', 'comp/button.png', 'comp/image.png']; myTestUI.imgList.renderHandler = new Laya.Handler(this, onImgListRender); function onImgListRender(box: Laya.Box) { let model = box.dataSource; let panel = box.getChildByName('panel') as Laya.Panel; let img = panel.getChi...
来源: Laya_社区 发布时间: 20180514
...Laya.loader.load([{url:"res/atlas/comp.json",type:Laya.Loader.ATLAS}],Laya.Handler.create(this,this.loadComp)); } private loadComp():void{ var parent:ui.ParentViewUI = new ui.ParentViewUI(); Laya.stage.addChild(parent); //当注释掉设置rotaion的代码则没有问题,否则会导致显示异常...
来源: Laya_社区 发布时间: 20170829
...能console出,那个list中的数据也存在,但没渲染出。 Laya.Handler.create 回调 load方法的progress回调进的次数太少了。是我哪里设置有问题么 Tween的to方法完成缓动后的回调怎么写,Tween.to(beginbox,{x:-Laya.Browser.width},1000,null,aaa,0,false);aaa...
来源: Laya_社区 发布时间: 20170321
ani时间轴动画问题 Laya.loader.load("res/atlas/move.json", Laya.Handler.create(this, onLoaded)); function onLoaded() { //创建一个Animation实例 var tl = new Laya.Animation(); //加载动画文件 tl.loadAnimation("TimeLine.ani"); //添加到舞台 ...
来源: Laya_社区 发布时间: 20171012
...复 Monica - 知识达人 赞同来自: 加载进度的回调你是用的Handler.create吗?如果是的话需要设置create里边的最后一个参数为false 2017-09-09 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 185*****367 相...
来源: Laya_社区 发布时间: 20170909
...p/28.jpg", "res/img/map/29.jpg", ]; Laya.loader.load(this.skins,laya.utils.Handler.create(this, this.LoadSuccess,null,false)); } private LoadSuccess() { ViewManager.getInstance().CreateView(contant.loginId,new LoginView()); ViewManager.getInstance().ShowView(contant.loginId); } public SwictMap(index...
来源: Laya_社区 发布时间: 20171124
...ad(["res/atlas/test.atlas", "test/1.png", "test/2.png", "test/3.png"],Laya.Handler.create(this,this.onComplete)); } }.bind(this)); }else { Laya.loader.load("res/atlas/test.atlas",Laya.Handler.create(this,this.onComplete)); } } onComplete(): void { //初始化rank排行榜 var rank = new BigR...
来源: Laya_社区 发布时间: 20190307