大约有 418 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0083 秒)
...eginLoad() { Laya.loader.load("res/atlas/comp.atlas", Handler.create(null, onLoaded)); } function onLoaded() { Laya.stage.addChild(new GolfMainUI()); } 附件 : --> 2018-06-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20180627
...l: "res/atlas/comp.json", type: Loader.ATLAS }], Handler.create(this, this.onLoaded)); function onLoaded(): void { //实例UI界面 var testUI: TestUI = new TestUI(); Laya.stage.addChild(testUI); } 完整项目请见附件。 附件 : --> testvbox.rar 2017-07-25 添加评论 免费帖 --...
来源: Laya_社区 发布时间: 20170725
...olor="#eeffcc"; Laya.loader.load("res/atlas/comp.json",Handler.create(this,onLoaded),null,Loader.ATLAS); } private function onLoaded():void { this._testTip=new TestTipsUI();//务必在Laya.init后去new实例,不可直接在全局变量处实例化 //切记,无论何种鼠标提示方式,务必...
来源: Laya_社区 发布时间: 20161115
... Laya.loader.load(resArray, Laya.Handler.create(this, () => { this.OnLoaded() }), null, Laya.Loader.ATLAS); }在IOS部分机型,如苹果8上,会出现资源加载出错,截图如附件一所示。 Load(): void { var resArray: Array<any> = [ ...
来源: Laya_社区 发布时间: 20191030
...olor="#EEFFCC"; Laya.loader.load("res/atlas/comp.json",Handler.create(this,onLoaded),null,Loader.ATLAS); } private function onLoaded():void { list=new List(); Laya.stage.addChild(list); list.itemRender=Item; list.repeatX=1; list.repeatY=6; list.x=((Laya.stage.width-Item.WID)/2); list.y=((Laya.stage....
来源: Laya_社区 发布时间: 20170626
...) at LoaderManager.__proto._endLoad (AA.max.js:9492) at Loader.onLoaded (AA.max.js:9469) at EventHandler.__proto.runWith (AA.max.js:674) at Loader.__proto.event (AA.max.js:453) 附件 : --> testA_B.zip 2017-07-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...
来源: Laya_社区 发布时间: 20170725
... Laya.loader.load("res/atlas/comp.atlas", Handler.create(this, this.onLoaded)); } private onLoaded(): void { console.log("onLoaded ......"); GameBootstrap.wxPostMessage({ cmd:1, text: 'hello', ...
来源: Laya_社区 发布时间: 20180529
...a.Handler.create(this, this.onAssetLoaded), Laya.Handler.create(this, this.onLoading, null, false), Laya.Loader.ATLAS); }; //加载完成后 p.onAssetLoaded = function() {}; //加载进度 p.onLoading = function(num) { //先添加进度组件UI if (!this.Progress) { this.Progress = new Progress(); t...
来源: Laya_社区 发布时间: 20170803
...([{url: "res/atlas/task.atlas", type: Loader.ATLAS}], Handler.create(this, onLoaded)); } private function hide():void { if(taskView) { taskView.destroy(); ...
来源: Laya_社区 发布时间: 20180425
...][url=){]){ var tempData=MiniFileMgr.ziyuFileData[/url][url=;]; thisLoader.onLoaded(tempData); return; } if (!MiniFileMgr.getFileInfo(url)){ if (MiniFileMgr.isLocalNativeFile([b]url[/b])){[/url] 改为[url=;] var urlType=Utils.getFileExtension(url); if ((MiniLoader._fileTypeArr.indexOf(urlType)!=-1)...
来源: Laya_社区 发布时间: 20190403